Run a rule after a "user parameter" is changed

Run a rule after a "user parameter" is changed

^_^clovis^_^
Advocate Advocate
1,456 Views
2 Replies
Message 1 of 3

Run a rule after a "user parameter" is changed

^_^clovis^_^
Advocate
Advocate

Hello All

I'm trying to use iLogic to modify a pipe.

I have a "user Parameter"

"DN" = 0

I've made a new Rule

"Dimension"

containing

 

If Parameter("DN") = 8 Then
    Parameter("d14") = 13.5   ' dimension on sketch
    Parameter("d13") = 2.3     ' dimension on sketch

end if

 

Is it possible to run the rule when the "user Parameter" is modified? and how?

Thanks

0 Likes
Accepted solutions (1)
1,457 Views
2 Replies
Replies (2)
Message 2 of 3

bretrick30
Advocate
Advocate
Accepted solution

You can set an Event Trigger to tell your rule to run on Any Parameter Change.  

 

Manage Tab > iLogic Panel > Event Triggers

 

 

 

Capture.PNG

 

Or Instead of using Parameter("DN"), just use the parameter name.  If you just use the parameter name, the rule will run whenever any of the parameters in the rule are changed.

 

Capture2.PNG

Message 3 of 3

^_^clovis^_^
Advocate
Advocate

Thanks a lot!

0 Likes