I have made a script that creates 3D views with an offset and a template for all the rooms of a project.
It works fine, but the only problem is that when a big curtain wall partly belongs to the room cropbox, the crop region of the view take this element into account, even if it is not visible. Then, the zoom of the view is not entirely focused on the room.
Here is the created view, one cant see the curtain wall because of the cropxbox
But when one put the mouse above this wall, we can see it is there and it is the reason why the crop region is so big
Then, I have been focusing on changing the Crop Region boundaries in my script to make them match the room only and to have a nice zoom on the room only.
The 2 nodes from Rhythm and MEPOver (View.SetCropRegion and View.SetCropBoxCurves) packages do not seem to work with 3D views properly…
And finally the node from archi-lab Views.SetCropxBox gives a result and modifies my crop region, but I can’t figure out the right way to match my room. I get a result like below most of the time, with a modified crop region but in the wrong spot: