Zooms to the extents of a specified bounding box in the specified view, or in the active view.
Rhino.ZoomBoundingBox (arrCorners [, strView [, blnAll]])
arrCorners |
Required. Array. An array of eight 3-D points that define the corners of the box. Points need to be in counter-clockwise order starting with the bottom rectangle of the box. Use BoundingBox to obtain the bounding box of objects. |
strView |
Optional. String. The title or identifier of the view. If omitted, the current active view is used. |
blnAll |
Optional. Boolean. Zoom extents in all views. If omitted, only the specified view is zoomed (False). |
Null.
Dim strObject
strObject = Rhino.GetObject
If Rhino.IsObject(strObject) Then
Rhino.ZoomBoundingBox Rhino.BoundingBox(strObject)
End If