shortcut for changing the view window

Next
 From:  wimverbe
6248.1 
I thought this would be obvious to find a similar request or question in the threads, but didn't find.
is there a way to make a keyboard shortcut to change window views, e.g. from top view to 3D view? or a command to do this?
I am working with an Xkeys programmable keyboard and would like to put those under a key, like in other 3D programs.

thanks
wim
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Andrei Samardac
6248.2 In reply to 6248.1 
Assign this:
moi.ui.mainWindow.viewpanel.mode = 'top'
moi.ui.mainWindow.viewpanel.mode = '3d'
moi.ui.mainWindow.viewpanel.mode = 'front'
moi.ui.mainWindow.viewpanel.mode = 'right'

-----------------------------------------
Portfolio: www.samardac.tumblr.com
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
6248.3 In reply to 6248.1 
Also if you want to set up the reversed views (Bottom, Back, Left) on an individual key too see this post:
http://moi3d.com/forum/messages.php?webtag=MOI&msg=3808.2

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  wimverbe
6248.4 
Thanks Michael and Andrei,

works a charm!

rgds
wim
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  shayno
6248.5 
This is a good option to select viewport , assigned to space key it is very fast
Whichever view the mouse pointer is over when space bar is pushed is selected , space again back to 4 panes

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 } }

cheers
shayne
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All