iLogic Question

iLogic Question

Jose_Merino
Collaborator Collaborator
496 Views
1 Reply
Message 1 of 2

iLogic Question

Jose_Merino
Collaborator
Collaborator

Good morning, I'm using Inventor 2020, I am making a piece using iLogic, the piece I am doing has several things that change, I am using the rules of iLogic, my question is the following, we have in iLogic the option to run a rule (iLogicVb.RunRule ("ruleName" )) Do we have the option to suppress a rule? or do not run it?

 

Thank You.

0 Likes
Accepted solutions (1)
497 Views
1 Reply
Reply (1)
Message 2 of 2

mcgyvr
Consultant
Consultant
Accepted solution

You can easily use If Then Else statements to run a rule or not.. 

 

If sky="blue" THEN

 iLogicVb.RunRule ("ruleName" )

Else

'do something else

End If

 



-------------------------------------------------------------------------------------------
Inventor 2023 - Dell Precision 5570

Did you find this reply helpful ? If so please use the Accept Solution button below.
Maybe buy me a beer through Venmo @mcgyvr1269