Viewport SetBoxCenter Not Centering View

Viewport SetBoxCenter Not Centering View

jeffr
Explorer Explorer
342 Views
0 Replies
Message 1 of 1

Viewport SetBoxCenter Not Centering View

jeffr
Explorer
Explorer

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?

0 Likes
343 Views
0 Replies
Replies (0)