Click or drag to resize

ObjectTableAddRectangle Method (Rectangle3d, ObjectAttributes, HistoryRecord, Boolean)

Adds a rectangle to the object table.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public Guid AddRectangle(
	Rectangle3d rectangle,
	ObjectAttributes attributes,
	HistoryRecord history,
	bool reference
)

Parameters

rectangle
Type: Rhino.GeometryRectangle3d
The rectangle.
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