API Reference > imodeljs-backend > ViewDefinitions > DrawingViewDefinition > create create MethodStatic Create a DrawingViewDefinition create(iModelDb: IModelDb, definitionModelId: Id64String, name: string, baseModelId: Id64String, categorySelectorId: Id64String, displayStyleId: Id64String, range: Range2d): DrawingViewDefinition throws IModelError if there is a problem creating the element. Parameter Type Description iModelDb IModelDb The iModel definitionModelId Id64String The 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 Returns - DrawingViewDefinition Defined in core/backend/src/ViewDefinition.ts Line 824 Last Updated: 13 June, 2024