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: Id64String): void Parameter Type Description sourceElementId Id64String Returns - void Defined in core/backend/src/IModelTransformer.ts Line 320 Last Updated: 13 June, 2024