Message 1 of 6
Changing DisplaySettings for ComponentOccurence in Assembly - Inventor API

Not applicable
09-12-2018
08:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to set the DisplaySettings for a part in an assembly through the API. Right now, I'm getting the selected ComponentOccurence, then from that it's PartDocument, then from that it's DisplaySettings. I then try to change the SolidLinesForHiddenEdges Property for that Occurrence but nothing changes. Do I have to do a refresh of the part or assembly for the changes to take effect? I've tried making the document is driving the display settings and not the application, but that didn't work.
Any suggestions would help, thanks.