Message 1 of 7

Not applicable
08-19-2021
12:01 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi, I am into what I believe should be a trivial task, but I am having big troubles with it.
I've filtered all the walls model elements in my project:
Dictionary<ElementId, Element> idToInstance = collectorElements.WhereElementIsNotElementType()
.WherePasses(filterWall)
.Where(e => e.Category != null)
.Where(e => e.Category.HasMaterialQuantities)
.ToDictionary(e => e.Id);
And now, I want to compute their surface area. The problem is that Walls only seem to have a Width property, not height nor area directly.
Maybe there's something I'm missing, but shouldn't there be an easy way to achieve this?
Thanks in advance and sorry if this question feels too easy. I've navegated and have found some similar topics, but couldn't be able to get it on point.
Thank you,
Jose Antonio Lorencio Abril
Solved! Go to Solution.