Surface selection based on intersection surfaces

Hi,

There is a (flat) tree containing surfaces A.(representing: walls)
There is a (flat) list of surfaces B (representing: openings)

I would like to be able to link the walls (list A), to the belonging internal openings (list B).
In other words, I would like to know to which wall, opening 1 is making an opening.

So maybe using a True/False pattern to select the adjacent surface?

2020-04-12 Link internal surface to surface.gh (15.1 KB)

Anny suggestions?

Thank you in advance :slight_smile:

image

2020-04-12 Link internal surface to surface_RE.gh (19.7 KB)

…or…

H!
Thank you for your help! :slight_smile:
One more favor to ask. :sweat_smile:
Would it also be possible to write it down in 1 list?

Lets say
Opening: list B, item index 1 --> in Wall (List A, item index x)
Opening: list B, item index2 --> in Wall (List A, item item x)
Opening: list B, item index3 -->
etc…

Thanks again! :+1:

2020-04-12 Link internal surface to surface_RE.gh (35.5 KB)

1 Like

Ahh Perfect!
Thank you :slight_smile: :+1:

If you would like to have another challenge, see the item below
Its about selecting all surfaces which are in 1 plane. There are already a couple of suggestions done, however not (yet) the one I am looking for, as I explain in my Re.
Do you have any suggestions?

Thanks again! :+1::+1:

Check @DavidRutten’s solution in this topic. In your particular Plane constelation it might work.