Click or drag to resize

RenderPrimitiveListTryGetBox Method

Call this method to get a box at the specified index.

Namespace:  Rhino.Render
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool TryGetBox(
	int index,
	out Box box
)

Parameters

index
Type: SystemInt32
The zero based index of the item in the list. Valid values are greater than or equal to 0 and less than Count.
box
Type: Rhino.GeometryBox
Will contain the box at the requested index if the index is in range and the primitive at the requested index is a box.

Return Value

Type: Boolean
Return true if the index is in range and the primitive at the requested index is a box otherwise returns false.
Version Information

Rhino for Windows

Supported in: 6.2
See Also