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