Click or drag to resize
ObjectTableAdd Method (GeometryBase, ObjectAttributes)
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) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public Guid Add(
	GeometryBase geometry,
	ObjectAttributes attributes
)

Parameters

geometry
Type: Rhino.GeometryGeometryBase
The base geometry. This cannot be null.
attributes
Type: Rhino.DocObjectsObjectAttributes
The object attributes. This can be null.

Return Value

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