insert MethodStatic
Insert a DrawingViewDefinition
insert(iModelDb: IModelDb, definitionModelId: Id64String, name: string, baseModelId: Id64String, categorySelectorId: Id64String, displayStyleId: Id64String, range: Range2d): Id64String
throws IModelError if there is an insert problem.
Parameter | Type | Description |
---|---|---|
iModelDb | IModelDb | Insert into this iModel |
definitionModelId | Id64String | Insert the new DrawingViewDefinition into this DefinitionModel |
name | string | The name/CodeValue of the view |
baseModelId | Id64String | The base DrawingModel |
categorySelectorId | Id64String | The CategorySelector that this view should use |
displayStyleId | Id64String | The DisplayStyle2d that this view should use |
range | Range2d | Defines the view origin and extents |
Defined in
Last Updated: 08 January, 2020