- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
We are looking for a method to get all windows of each room.
We tried to use the standard DetermineAdjacentElementLengthsAndWallAreas as described in the "Retrieving Room Boundaries" in the Revit API Help and extra SpatialElementGeometryCalculator class.
By doing so, we have found out that some walls are not recognized by the room, because these walls do not get to become room bounded. For example when you have two walls stacked up on each other, when the upper wall is smaller than the bottom wall, the bottom wall is room bounded and the upper wall is not. How can you find these missing (upper) walls?
What is your advise to approach this?
Do you advise to create a Ray Trace method such as FindReferencesByDirection (of which we don't have the source, and we find this tricky) or is there a much more simpler method?
A Revit project example is attatched. We try to get the curtain wall areas of room numbers 78 and 100.
Solved! Go to Solution.