Click or drag to resize

ObjectTableAdd Method (GeometryBase, ObjectAttributes, HistoryRecord, Boolean)

Adds geometry that is not further specified.

This is meant, for example, to handle addition of sets of different geometrical entities.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public Guid Add(
	GeometryBase geometry,
	ObjectAttributes attributes,
	HistoryRecord history,
	bool reference
)

Parameters

geometry
Type: Rhino.GeometryGeometryBase
The base geometry. This cannot be null.
attributes
Type: Rhino.DocObjectsObjectAttributes
The object attributes. This can be null.
history
Type: Rhino.DocObjectsHistoryRecord
The history information that will be saved.
reference
Type: SystemBoolean
If reference is true, object will not be saved in the 3dm file.

Return Value

Type: Guid
The new object ID on success.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf geometry is null.
Version Information

Rhino for Windows

Supported in: 6.0 BETA
See Also