Reset Views

Next
 From:  DannyT (DANTAS)
3016.1 
Hi All,

Does anyone know what the script is to reset the view so I can assign a keyboard shortcut. 'Reset' and 'Reset all'

Thanks in advance.
~Danny~
  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:  Michael Gibson
3016.2 In reply to 3016.1 
Hi Danny,

For reset all, set up this as the command on the shortcut key:

script:moi.view.resetAll();



To do just one viewport (the one under the mouse or the one that was last clicked in), use this:

script:moi.ui.getActiveViewport().reset();


- 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
 

Reply to All Reply to All