Message 1 of 5

Not applicable
06-24-2015
10:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to quantify a list of stacked walls.
If I used the filtered ElementCollector there is no problem because I select all an the wall sweeps that are on the project.
var collector = new FilteredElementCollector(this.Document, view.Id).WhereElementIsNotElementType();
But if I pick a collection of Stacked walls like this.
UIDocument.Selection.GetElementIds()
Only the Stacked walls are selected, with the property GetStackedWallMemberIds() I can access the walls, Is there a way to access the element id of the wall sweeps with a property?
When you have a wall sweep you can access the wall with the GetHostIds() Something similar but from the wall object.
Thanks.
Solved! Go to Solution.