Windows display problem

Hi everyone,

As soon as I increase the number of windows in my script, the windows are no longer displayed graphically correctly in Revit. Does anyone have an idea what I am doing wrong?

Windows display (37.7 KB)

Your file is missing Data and its hard to tell from your image. I’m guessing the branches aren’t grafted correctly and the windows aren’t being hosted on the correct walls…


the main problem is the data matching…
your host (wall) for the windows are flatten tree structure, but the input of windows are multiple branches of tree structure.

I have attached the revised script from my side.

Windows display (24.3 KB)