Click or drag to resize

ObjectTableAddBox Method (Box, ObjectAttributes, HistoryRecord, Boolean)

Adds a box to the object table, as an extrusion.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public Guid AddBox(
	Box box,
	ObjectAttributes attributes,
	HistoryRecord history,
	bool reference
)

Parameters

box
Type: Rhino.GeometryBox
The box.
attributes
Type: Rhino.DocObjectsObjectAttributes
Attributes that will be linked with the surface object.
history
Type: Rhino.DocObjectsHistoryRecord
History data records.
reference
Type: SystemBoolean
If a reference, object will not be saved in the document.

Return Value

Type: Guid
The ID.
Version Information

Rhino for Windows

Supported in: 6.0 BETA
See Also