Description:
Get the bounding box for the custom render meshes associated with this document (i.e. - GH meshes).
Syntax:
public bool TryGetRenderPrimitiveBoundingBox(
ViewportInfo viewport,
DisplayPipelineAttributes attrs,
out BoundingBox boundingBox
)
ViewportInfo viewport,
DisplayPipelineAttributes attrs,
out BoundingBox boundingBox
)
deprecated in 8.0
Parameters:
- viewport
- Type: ViewportInfo
- The viewport being rendered.
- attrs
- Type: Rhino.Display.DisplayPipelineAttributes
- Attributes for the view mode you are supplying meshes for. Will be None if this is a modal rendering.
- boundingBox
- Type: BoundingBox
- This will be set to BoundingBox.Unset on failure otherwise it will be the bounding box for the custom render meshes associated with this object.
Returns:
Type: bool
Returns True if the bounding box was successfully calculated otherwise returns False on error.
Available since:
6.9