DirectShapeLibrary.AddDefinition(String, IList<GeometryObject>)
Method
Description:
Add a definition to be reused by instances. A definition is a collection of geometry objects.
Add a definition to be reused by instances. A definition is a collection of geometry objects.
Parameters
| Parameter | Type | Description |
|---|---|---|
| id | String | ID of the definition to be added. Must be unique. |
| GNodes | IList | Definition as a list of Geometry objects |
Return Value
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |