Hello,
I have several rules in a model that I would like to have run continuously. How would I achieve this? Under the Options tab of edit rule, I see the following:
What I see here is that the rule gets run when I actually open up the rule and then hit okay. Then the rule runs. Prior to that, it does not run.
Very frustrating.
thanks,
Matt
Solved! Go to Solution.
Solved by cwhetten. Go to Solution.
Hi, Matt. Welcome to the forum!
iLogic rules really shouldn't be run continuously since you can't do anything else while a rule is running. So, I assume you mean you want the rule to run automatically under certain conditions, not just when you click OK in the editor. If this is true, there are several things you can do.
By default, if a parameter is used in a rule, the rule will detect when the value of that parameter changes and will run. Also, there are "event triggers" that will detect other events and fire specified rules (see the image below).
There are VB ways to program other event triggers, but it's pretty complicated (and beyond my experience). However, I have used iLogic for quite a lot of things and have never needed anything more than the built-in event triggers.
Did I understand your question correctly?
Cameron Whetten
Inventor 2014
Cameron,
Thanks for the suggestions. I finally got it to update (after clicking the update icon) by putting event triggers in the model.
I appreciate the assistance.
Sincerely,
Matt