Viewport navigation: Rotate around selection
All  1-4  5-6

Previous
Next
 From:  rich (RICHKEAR)
6124.5 In reply to 6124.4 
Good day all,

A while ago, Michael was very helpful to divide "Reset" into two separate scripts for hotkey assignments: 1. View or zoom all, and 2. view or zoom selected.

1. script:/* Zoom extents all */ var vp = moi.ui.getActiveViewport(); vp.zoom( 0.9 ); vp.reset(); vp.reset();

2. script:/* Zoom extents selected */ var vp = moi.ui.getActiveViewport(); vp.zoom( 0.9 ); vp.reset();

I find this very useful.

Rich
  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:  Samuel Zeller
6124.6 In reply to 6124.5 
This one is cool too

It zoom on selection or on everything if nothing is selected :)

No need to have two separate shortcuts

script:moi.ui.getActiveViewport().reset();
--
shapenoid.com stojan-voumard.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
 

Reply to All Reply to All

 

 
 
Show messages: All  1-4  5-6