ObjectTableAddRectangle Method (Rectangle3d, ObjectAttributes, HistoryRecord, Boolean) |
Adds a rectangle to the object table.
Namespace:
Rhino.DocObjects.Tables
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 6.0
Syntax public Guid AddRectangle(
Rectangle3d rectangle,
ObjectAttributes attributes,
HistoryRecord history,
bool reference
)
Public Function AddRectangle (
rectangle As Rectangle3d,
attributes As ObjectAttributes,
history As HistoryRecord,
reference As Boolean
) As Guid
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:
GuidThe ID.
See Also