- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a part which is set to run a specific external iLogic rule before the part is saved. The external rule creates a parameter in the part if the parameter doesn't already exist, among other things.
The problem I'm having is, if I do a save on an assembly that contains the part, then when I save, Inventor runs the external rule per the save trigger but it executes the code on the active assembly, not on the part that contained the "run this rule when I save" trigger. As a result it creates the parameter in the assembly rather than the part.
I need to force Inventor to execute the rule's code on the part it was triggered by, rather than the active document.
It's my understanding that local rules work this way. If I have a trigger in the part to run a rule stored within the part upon save, then even if I save the part from the assembly level, Inventor will recognize the rule resides within the part and execute the code on the part. But in this case, because there are specific reasons for the rule being external rather than local, I need to find a way for triggered external rules to function the same way. How can I do this?
Solved! Go to Solution.