Hi Pilou,
> Does exit a shortcut for the button Front, Top etc...
The most popular one seems to be to have just one shortcut that will maximize the viewport that the mouse is currently over, or switch back to split mode if already maximized. That can be done with script:
Space=script:if ( moi.ui.mainWindow.viewpanel.mode != 'split' ) { moi.ui.mainWindow.viewpanel.mode = 'split' } else { var viewport = moi.ui.getViewportUnderMouse(); if ( viewport ) { viewport.viewPanel.mode = viewport.name } }
It is also possible to set up one key for each particular mode if you wish, the following will set up the function keys F4, F5, F6, F7 to be Split, 3D, Top, Front, and Right respectively.
F4=script:moi.ui.mainWindow.viewpanel.mode = 'split';
F5=script:moi.ui.mainWindow.viewpanel.mode = '3D';
F6=script:moi.ui.mainWindow.viewpanel.mode = 'Top';
F7=script:moi.ui.mainWindow.viewpanel.mode = 'Front';
F8=script:moi.ui.mainWindow.viewpanel.mode = 'Right';
- Michael
|