iLogic: multiple rules, one part

iLogic: multiple rules, one part

Anonymous
Not applicable
429 Views
1 Reply
Message 1 of 2

iLogic: multiple rules, one part

Anonymous
Not applicable

So, the component circled below is the same part on 2 different rules, they are both suppress/unsupress features.  One is true and one is false.

iLogic3.png

Component circled in red above and below:

 

iLogic4.png

 

I need to somehow put an order to these rules because if one is true the other may not be, as seen.  If ANY RULE RESULTS IN FALSE,  the part needs to be suppressed for my assembly.  Currently it seems the False statment is being overwritten with the true and the part(feature) remains unsuppressed.

 

Anyone know if there is an order to the rules when they are run or how to solve this problem?

0 Likes
430 Views
1 Reply
Reply (1)
Message 2 of 2

RodrigoEiras
Advocate
Advocate

 

Good afternoon,

 

I would say there cannot be two conditions being true at the same time that cause a part to be suppressed and unsuppressed at the same time. So the problem is in the concept itself, not in the order the rules are being run.

 

It seems one condition should be for example inside the other, so in case both are true you can decide what the suppression state of the part has to be.

 

If LHORR=0 Then

   If SENTTRANS=1 Then

 

 

   Else

 

   End if

 

Else

 

End If

 

 

I hope this helps.

 

Best regards

 

 

 

 

0 Likes