API Reference > imodeljs-backend > Elements > Drawing > insert insert MethodStatic Insert a Drawing element and a DrawingModel that breaks it down. insert(iModelDb: IModelDb, documentListModelId: Id64String, name: string): Id64String throws IModelError if unable to insert the element. Parameter Type Description iModelDb IModelDb Insert into this iModel documentListModelId Id64String Insert the new Drawing into this DocumentListModel name string The name of the Drawing. Returns - Id64String The Id of the newly inserted Drawing element and the DrawingModel that breaks it down (same value). Defined in core/backend/src/Element.ts Line 653 Last Updated: 13 June, 2024