Zooms to the extents of selected objects in the specified view, or in the active view.
rhinoscriptsyntax.ZoomSelected (view=None, all=False)
rhinoscript.view.ZoomSelected (view=None, all=False)
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). |
None
import rhinocriptsyntax as rs
obj = rs.GetObject("Select object", select=True)
if obj: rs.ZoomSelected()