Select (as in Highlight) elements in linked model (Polycount)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Using:
uiDoc.Selection.SetElementIds(ids)
does not work on Linked Elements.
This question has been already asked but unfortunately it didn't look like there was an existing API call for this. So I am posting this again to check if it is now possible in Revit 19, or to boost the existing Wish.
Context:
We have a macro that parses all the elements of our model (and the linked models) to check the geometry (using the OBJExporter) and display the worst offenders in terms of polygons.
I have added a Select button to quickly see where they are but unfortunately the selection doesn't work on linked elements.
For example the screenshot below shows that the CP_Weatherproof family accounts for 21% of all the geometry which means that the family should be reviewed asap. It also shows that less than 15 families account for 40% of all the geometry which should be optimized too.
Polycount
This is particularly useful for our AR/VR workflow as the geometry needs to be kept to a minimum