Opening generic model has as a host a level instead of the wall, where it is placed

Hello community,

I dont really understand it, but the host of these openings generic model are levels instead walls.
Maybe I am mistaken and my script is wrong…
but if it is so, that these openings have as host levels, how can I find out the wall that contains these openings?
Thanks in advance.

here the floorplan, in yellow the opening and the walls

Durchbrüche in Trockenbau.dyn (15.0 KB)

Have a look inside the family if it is wall based (probably not). There are nodes in steam nodes (GetSurroundingElements or something similar) and Clockwork (All Intersecting Elements by BoundingBox or something similar) that you can use to get the “host” wall.

1 Like