Viewport navigation: Rotate around selection

 From:  coi (MARCO)
6124.2 In reply to 6124.1 
hoi heiner..

option is already available..

http://moi3d.com/2.0/docs/moi_command_reference5.htm#View
http://moi3d.com/2.0/docs/moi_command_reference9.htm#Viewport%20controls

either you use the RESET button at the bottom of the window, so called Viewport controls

quote:
Fills the view with either the selected objects or all objects.

On the first click Reset will target just the selected objects and adjust the view so the selected objects fill up the viewport.

If you click the button a second time, Reset will target all objects in the model regardless of selection, zooming to fit everything within the view.

Reset also places the pivot point for rotating the 3D view at the center of what it zoomed to.

If you right-click on the Reset button, the reset will be applied to all viewports.

If there are no objects visible, Reset will restore the view to the initial startup default view.







or assign the command to a shortcut.

script:moi.view.resetAll();


..as this is very(very) basic stuff, you should definitely have a read through the manual or a look at the tutorials section

http://moi3d.com/2.0/docs/moi_introduction.htm
http://moi3d.com/2.0/docs/moi_command_reference.htm

http://moi3d.com/resources#Tutorials

~ marco