Find host for doors and windows

We try with grasshopper insert doors on walls created with grasshopper. The door positions are defined with points.

But the doors are insert only on one wall per level:

Hi Simon, can you share the gh file to check it out? (34.2 KB)

Simon, can you internalize the Referenced points and curves in that GH file? Or just attach the 3dm you are using.

Hi Simon,
You need to readjust the way the insert points for doors detect the wall where they are sitting on. Take a look at the file attached. I have “flatten” the Walls (1) and “Graphed” the points (2). I also recommend using the wall path curve obtained from the Deconstruct Wall component (3), to ensure each curve is an individual segment. (30.4 KB)

Perfect. Works fine. Thank you very much.