Place windows on walls


I have this script that places windows on walls depending on how many windows are required in each wall. It works perfectly when I choose all the walls. But when I choose 1, 2 or 3 walls (less then all the walls) It crashes and displays the message in the picture.

It seams like it can only place the windows if the walls are closed. Does someone know how to place the windows without the walls has to be closed?

Here, it works perfectly
The error message

1 Like

Hi, I might be wrong but maybe you simply need to connect “Choose walls…” to host in “Spring.HostedInstanceByPoints”

Here is your graph, I was right but you also had to Chop your wall list:


Thank you so much. It works perfectly :slight_smile: