Get Window Walls

How to get all Revit Walls that a Revit Window (Component) affects? I can get the Element Host (or Host ID element parameter value) but it will give me only one out of multiple connected/parallel walls cut by the window.

Revit requires a primary host for a Window, if i’m understanding the question correctly.

getting the walls and seeing what they intersect with could be way.

Thanks, I think that’s almost what I need. How can we modify this logic to get all the windows and then find all the walls that each window intersects?

Here’s a geometry driven solution.

Re_get (13.3 KB)

1 Like

Thanks, Element Location and Bounding Geometry will be very usefull for me in other cases as well!