ZoomSelected

Zooms to the extents of selected objects in the specified view, or in the active view.

Syntax

rhinoscriptsyntax.ZoomSelected (view=None, all=False)

rhinoscript.view.ZoomSelected (view=None, all=False)

Parameters

view

Optional.  String or Guid.  The title or identifier of the view.  If omitted, the current active view is used.

all

Optional.  Boolean.  Zoom selected in all views.  If omitted, only the specified view is zoomed (False).

Returns

None

Example

import rhinocriptsyntax as rs

obj = rs.GetObject("Select object", select=True)

if obj: rs.ZoomSelected()

Also See

ZoomBoundingBox

ZoomExtents