Reset view?

 From:  Michael Gibson
8025.8 In reply to 8025.6 
Hi Flowgun, by default the view reset will fit to selected objects and if you run it a second time it will fit to all objects regardless of selection.

But you can pass in an optional parameter to the resetAll() function to make it behave differently. The parameter can be one of:

'auto'  - Do automatic toggle between selected or all.
'selected'  - Only reset to selected objects.
'all'  - Only reset to all objects.
'default'  - Reset to default startup views, keeping reversed views (bottom/back/left).
'harddefault'  - Reset to startup views and get rid of reversed views (bottom view will become top).


So you can use it like this for example: moi.view.resetAll( 'selected' );

- Michael