Message 1 of 12
Select all instances of a component in the model browser
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello all,
I'm trying to select all instances of a part/assembly in the model browser. I know I can select all instances by several methods but for this case it is really important not only to see, but select all instances from the model browser (just like searching for them in the search textbox, then selecting each one of them).
Here's my attempt:
Dim oName As String = "A200"
Dim oDoc As Document = ThisApplication.ActiveDocument oDoc.BrowserPanes.ActivePane.SearchBox.Search(oName)
This searches for the part in the browser, but I need to select all instances.
Does anyone know how to do this?