Jump to content

User defined check conditional choice


---
 Share

Recommended Posts

Hello,

I would like to create a user defined check.

I would like to get the maximum from different lenght dimensions (e.g.: A,B,C,D actual value), but only take the value into account if the dimension is within 40 mm.

How can I create such conditional entries? I guess I should combine it with if statement.

 

Best regards,

Máté Tömöri

 

 

Képernyőkép 2026-01-15 150246.png

Edited
attached picture
Link to comment
Share on other sites

You have 36mm +-1mm in the user defined check, so I don't understand what you are trying to accomplish.

You need to pass some value along regardless, but here is an idea:

x = max(A.actual_value, B.actual_value)

if max(A.actual_value, B.actual_value) < 35:
    x = 0

x
 

 

  • Like! 1
Link to comment
Share on other sites

 Share

×
×
  • Create New...