Rule in Subassembly Doesn't Trigger from In-Place Edit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have an issue I'm trying to solve with one of our iLogic rules. I'm stumped, throwing it out here for suggestions. This is a problem we've actually had for a couple of years now, but previously only two people were commonly using the files that cause it. Now more people are beginning to use it, increasing the possibility of mistakes being made by those who don't understand the quirks of how it operates. I'm trying to resolve the problems before they happen.
The scenario is this: Top level assembly, Subassembly, Parts. The Subassembly contains the rule. The rule triggers before save.
The rule gathers information from the parts to generate the Part Number of the subassembly (which is sort of a model code). The rule itself works flawlessly. However, there is a very common scenario when the rule doesn't run at all, which has the potential to result in an incorrect Part Number.
The problem is that the parts in the subassembly are often in-place edited from the top level assembly to adjust their geometry in context. When this is done, the subassembly doesn't seem to get "dirtied", so Inventor doesn't default to saving it.
If you save the subassembly while still in the in-place edit, the rule works fine. If you return back out to the top level assembly, save it, and force it to save the subassembly (even though it defaults to not saving), it will work. But in-place editing is the most common way to work with these files, and that's what is unreliable.
Does anyone have any suggestions for how I could get this to trigger after an in-place edit?