create MethodStatic
Create a DisplayStyle2d for use by a ViewDefinition.
create(iModelDb: IModelDb, definitionModelId: Id64String, name: string): DisplayStyle2d
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 DisplayStyle2d |
Returns - The newly constructed DisplayStyle2d element.
Defined in
Last Updated: 08 January, 2020