01-17-2023
11:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
01-17-2023
11:44 PM
just to be sure, before getting the model state table log this property to check if you have a member or factory document:
Logger.Info("Is Factory? {0}", ThisDoc.Document.ComponentDefinition.IsModelStateFactory)
If you're working directly in Part1.ipt which is the one who contains the rule then ThisDoc is a factory document; on the other hands if you're executing this rule on trigger event or from a RunRule in parent assembly i'm not sure, I don't use very often ThisDoc instance.
Which is your Inventor version including updates?