Thanks Max for the great script!
I have mapped the Zoom Out script to the comma key ("<"):
code: var z=1.2, vp=['3D','Left','Right','Top','Bottom','Front','Back']; for (var n in vp) moi.ui.mainWindow.viewpanel.getViewport(vp[n]).zoom(z);
and then I mapped a Zoom In script to the period key (">"):
code: var z=.8, vp=['3D','Left','Right','Top','Bottom','Front','Back']; for (var n in vp) moi.ui.mainWindow.viewpanel.getViewport(vp[n]).zoom(z);
Works PERFECT!!! Wish I had done this sooner :-)
|