RhinoCommon API
ObjectTableAdd Method (GeometryBase) |
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)
Since: 5.0

public Guid Add( GeometryBase geometry )
Public Function Add ( geometry As GeometryBase ) As Guid
Parameters
- geometry
- Type: Rhino.GeometryGeometryBase
The base geometry. This cannot be null.
Return Value
Type: GuidThe new object ID on success.

Exception | Condition |
---|---|
ArgumentNullException | If geometry is null. |
