Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Run a rule after a "user parameter" is changed

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
^_^clovis^_^
1190 Views, 2 Replies

Run a rule after a "user parameter" is changed

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

2 REPLIES 2
Message 2 of 3
bretrick30
in reply to: ^_^clovis^_^

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^_^
in reply to: bretrick30

Thanks a lot!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report