create MethodStatic

Create a new DrawingCategory

create(iModelDb: IModelDb, definitionModelId: Id64String, name: string): DrawingCategory

throws IModelError if unable to create the element.

Parameter Type Description
iModelDb IModelDb The iModel
definitionModelId Id64String The DefinitionModel
name string The name of the DrawingCategory

Returns - The newly constructed DrawingCategory element.

Defined in

Last Updated: 08 January, 2020