Selecting doors and windows from room X to room Y

@Henrik I’ve been working on it some more, I’ll update you with the script and the rvt file when I’m done!

1 Like

Hey Laura
Sounds great!
Thank you :smiley:

Empty list perhaps?

I guess, but they are crucial for the order of adding the windowthresholds because the empty lists are the rooms without windows…

@jacob.small Never mind, I managed to solve it but I found another problem…
For some reason there are multiple surfaces detected for 1 solid…
This wasn’t happening before…

Multiple loops in the floor sketch perhaps?

Never mind, but nope.
I managed to solve it somehow, somewhere there was a wrong connection… :weary:

1 Like

@jacob.small so new day, new problem.

So i’m trying to get the script to also work for our corner windows. But something goes wrong when measuring the distance to the room geometry…
When the window is in the middle of the wall there is a correct value of 315.
When I put the window in the corner, the value changes to 608 which is not correct. How is this happening?

My guess is that you are now measuring on the angle instead of straight away. Chang the Wall Type to nearly 0 units thick for both of those walls, or do the trigonometry on the angle to confirm.

hey Laura did you ever succed?