create MethodStatic
Create a new SpatialCategory
create(iModelDb: IModelDb, definitionModelId: Id64String, name: string): SpatialCategory
throws IModelError if unable to create the element.
| Parameter | Type | Description |
|---|---|---|
| iModelDb | IModelDb | The iModel |
| definitionModelId | Id64String | The DefinitionModel |
| name | string | The name/CodeValue of the SpatialCategory |
Returns - The newly constructed SpatialCategory element.
Defined in
Last Updated: 08 January, 2020