03-14-2023
04:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
03-14-2023
04:50 AM
Hmm... I was trying to think of some reason why it would not allow you to un-suppress a component, and one thing that comes to mind is that the assembly is ReadOnly for some reason. One way the assembly may be ReadOnly is if we were dealing with a ModelState 'member' version of the document reference.
Try changing this:
ThisDoc.Document
...to this:
ThisDoc.FactoryDocument
...and see if that changes things.
When you suppress components, that suppressed or unsuppressed state is recorded in the ModelStates. Or, if you are using a version of Inventor previous to 2022, they would be recorded in the LOD's (LevelOfDetailRepresentations), and that alternate line I suggested above would not work for you. Which version are you using?
Wesley Crihfield
(Not an Autodesk Employee)