03-01-2024
06:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
03-01-2024
06:28 AM
I am brand new to iLogic and VB in general, I am trying to write an external rule that modifies one parameter based on the value of another parameter. I figured out how to write the code to do this in an internal rule but I'm unsure how to reference parameters from a specific model into an external rule. Here is what I've written for the internal rule:
If (LG = 17.9375) Then FTR_POS = DISTANCE_4 End If If (LG > 35.9375) Then FTR_POS = DISTANCE_9 End If If (LG > 17.9375 And LG < 35.9375 Or LG = 35.9375) Then
FTR_POS = DISTANCE_6 End If
Solved! Go to Solution.