Viewport SetBoxCenter Not Centering View
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have Dynamo successfully creating a number of sheets and placing the necessary plan views on those sheets. I was working on trying to get them aligned better and saw that there was the Viewport.SetBoxCenter node added in 2022. I tested this with a separate workflow where I just pick the single sheet and it gets the viewport and centers it as expected. When I try to add it to the end of my full workflow however it will not center the cropped views correctly. I tried flattening the list, running at different levels, and changed lacing to longest and didn't help the result. When I compare the placement with and without that center node on the end, it does appear to move the view but is not centering the cropped view - it might be centering the uncropped view? How do I get the sheet and cropped view creation to be 'committed' before running the centering node?