Grasshopper API
GH_DocumentBoundingBox Method |
Returns the boundingbox of all the normal attributes. If the document contains no
normal attributes an Empty RectangleF structure is returned.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)
public RectangleF BoundingBox( bool limitToSelection = false )
Public Function BoundingBox ( Optional limitToSelection As Boolean = false ) As RectangleF
Parameters
- limitToSelection (Optional)
- Type: SystemBoolean
If true, only selected attributes are included in the boundingbox computation.
Return Value
Type: RectangleFThe boundingbox of the requested objects or RectangleF.Empty if no objects could be found.