Description:

Call this method to get a Box primitive for this mesh. If this meshes PrimitiveType is not a Rhino.Render.RenderPrimitiveType.Box then the box parameter is set to Box.Empty .

Syntax:
public bool TryGetBox(
out Box box
)
Parameters:
  • box
  • Type: Box
  • Gets set to the box primitive for this object on success or Box.Empty on error.
Returns:
Type: bool
Returns True if <b>PrimitiveType</b> is <b>Rhino.Render.RenderPrimitiveType.Box</b> and the box parameter was initialized otherwise returns false.
Available since:
5.7

Nothing found