API Reference > imodeljs-backend > iModels > IModelTransformer > onDeleteElement onDeleteElement MethodProtected Override of IModelExportHandler.onDeleteElement that is called when IModelExporter detects that an Element has been deleted from the source iModel. This override propagates the delete to the target iModel via IModelImporter.deleteElement. onDeleteElement(sourceElementId: string): void Parameter Type Description sourceElementId string Returns - void Defined in core/backend/src/IModelTransformer.ts Line 496 Last Updated: 12 June, 2024