Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
jfenter
720 Views, 6 Replies

iLogic to verify multiple measurements

I would like to write a rule to verify that a group of various dimensions all exceed a baseline dimension.  If a given distance is less than the baseline dimension, I will have a message box pop up to alert the user of the situation.  I would like this rule to run after the parameters have been updated.  Is there a way to check these measurements simultaneously against the baseline?   I'm sure I could write a series of If-Then statements to satisfy each variable.  I am a beginner using iLogic and assume there would be a better way to achieve the same result.

 

 

'Rule to get distance between rails

'Distance between left rail and single rail
myDist1 = Measure.MinimumDistance("Work Plane22", "Work Plane12")

'Distance between right rail and single rail
myDist2 = Measure.MinimumDistance("Work Plane23", "Work Plane13")

'Distance between left rail and double rail
myDist3 = Measure.MinimumDistance("Work Plane22", "Work Plane20")

'Distance between right rail and double rail
myDist4 = Measure.MinimumDistance("Work Plane23", "Work Plane21")

'Distance between single rail and double rail
myDist5 = Measure.MinimumDistance("Work Plane13", "Work Plane20")

honeycombmin=230