Message 1 of 2
Inventor 2023 crashes when iLogic saves a part with model states
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Inventor crashes when saving IPT with model states and iLogic rule as below.
It crashes when triggered by Rules On Events: "After Save Document".
ThisDoc.Document.ComponentDefinition.ModelStates.MemberEditScope = MemberEditScopeEnum.kEditAllMembers 'do something ThisDoc.Document.ComponentDefinition.ModelStates.MemberEditScope = MemberEditScopeEnum.kEditActiveMember If ThisDoc.Document.Dirty Then ThisDoc.Save End If
Attached is IPT with the rule, and event trigger trigger set.
When rule dirties the document it requires a 2nd save...
Is there a workaround?
regards
Martin