05-31-2019
06:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
05-31-2019
06:59 AM
Hi CadUser46
The fastest method I found was:
DesignViewRepresentation.SetVisibilityOfOccurrences( Occurrences As ObjectCollection, Visible As Boolean)
You just need to create an ObjectCollection and add all your occurrences, and you can probably just use
ThisApplication.ActiveEditDocument.ComponentDefinition.RepresentationsManager.ActiveDesignViewRepresentation
As the DesignViewRepresentation object (View Rep) if you don't already have it.
Hope this helps,
Luke