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