Lacingconfusion

Hey guys,

Might be a bit of a weird question, but I’m having some trouble setting up my lists correctly.
I have some wall finishes created in this script based on the rooms, but I want to cut them with the window in those rooms using the Element.CutGeometry.
I can flatten both my lists and it wil execute, but it takes a really long time to finish. I was hoping to do some optimizing by only having it check the windows in the same room as the walls. My window list is grouped by the same order as my wall list, so I should be able to only check items in sublist 0 from list A with items from sublist 0 from list B right?
I think I’m messing up with the levels, but I can’t seem to get the same result as I get by just flattening all the lists.

Any suggestions?

try this

I just tried it.
It cuts out my doors, but it doesn’t cut my windows properly. (The lines on the wall are just graphical errors because my wall finish is so narrow)

Edit: It doesn’t cut out all doors either