You can make keyboard shortcuts to move to views too.. This is what the "command part" would look like for Top:
code: script:var vname = 'Top'; var vp = moi.ui.mainWindow.viewpanel; vp.mode = vname; if ( vp.getViewport(vname).name != vname ) vp.reverseView( vname );
Note the word "Top" in there.
You can set that word to any of the views:
Back
Bottom
Front
Left
Right
Top
For Split view and 3d viewport, the script is:
code: script:moi.ui.mainWindow.viewpanel.mode = 'Split';
Note the word "Split" in there.
You can set that word to 3D:
|