MoI discussion forum
MoI discussion forum

Full Version: Real size grid

Show messages:  1-20  21-22

From: Michael Gibson
13 Feb 2021   [#21] In reply to [#19]
Hi Tom, the zoom factor is part of the view definition, it will be saved when you save to a .3dm file and reload.

The zoom factor value for an ortho view does not have a spot in the regular UI for directly editing it but it can be accessed by script.

script: /* display top view zoom factor */ moi.ui.alert( moi.ui.mainWindow.viewpanel.getViewport( 'Top' ).fieldOfViewAngle );

script: /* set top view zoom factor */ moi.ui.mainWindow.viewpanel.getViewport( 'Top' ).fieldOfViewAngle = 30.0;

- Michael
From: TOM (SIRTOM)
13 Feb 2021   [#22] In reply to [#21]
Thats awesome.
So by entering the desired zoomfactor into the command line of the script I
can always return the "real world" size.

MOI feels like a silken glove - the smoothest workflow ever ;-)

Show messages:  1-20  21-22