When running multipul rules, is there a way to get them all to auto run off every change or atleast a way to only press one thing to make each one run? Right now every time I update something that includes the rules I have to go through and right click on each rule and tell it to "Run Rule" and it's honestly just a pain to have to do.
Thanks,
Aaron
Solved! Go to Solution.
Solved by admaiora. Go to Solution.
Hi Aaron,
you can use the event triggers (manage>iLogic)
Admaiora
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Where I'm at is, I have 3 rules. I don't think they have triggers. The rules are just "if part 1 is x then part 2 is true/false" and the rules all work. Can I make it so I just press one thing and they all run? I'm assuming that's what the iTrigger is...
Hi ASchlaack,
You can create a "master rule" and use one of these "RunRule" functions to run any other rules that you want.
Here are some quick examples:
'runs the named rules found in this file iLogicVb.RunRule("Magic Easy Button Rule") iLogicVb.RunRule("Size Updater Rule") iLogicVb.RunRule("iProperties Updater Rule")
'runs the named rule(s) in the named component iLogicVb.RunRule("Gantry_Subassembly_104:1", "iProperties Updater Rule")
'runs the named external rule(s) in the active file iLogicVb.RunExternalRule("Design Config Rule")
About external rules:
http://autodeskmfg.typepad.com/blog/2012/01/working-with-external-ilogic-rules.html
I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com
Can't find what you're looking for? Ask the community or share your knowledge.