Auto infill scale on sheet

that’s indeed a fair question! However it still doesn’t solve my problem sadly.

yes, I understand, but at this point I don’t get the 3D aerial viewports out of my list:)

This.

hmm I’m going to set this up from scratch…I’ll let you know if I figure it out

You’re not asking the viewport for it’s mother view and type somewhere in the script. You straight jump to the scales.

Insert the step to go Viewport>View>Viewtype there and start filtering.

Your script is really hard to read because of all the jumbled lines overlapping or behind other nodes.

This :point_down: will get you started.

maybe not the most efficient one but it works. Do you know if there is way I can filter out the two viewtypes at once perhaps?

You could try something this.
Make sure you use the String.Contains from archilab.