API Reference > imodeljs-backend > iModels > IModelTransformer > onTransformModel onTransformModel MethodProtected Transform the specified sourceModel into ModelProps for the target iModel. onTransformModel(sourceModel: Model, targetModeledElementId: string): ModelProps note A subclass can override this method to provide custom transform behavior. Parameter Type Description sourceModel Model The Model from the source iModel to be transformed. targetModeledElementId string The transformed Model will break down or detail this Element in the target iModel. Returns - ModelProps ModelProps for the target iModel. Defined in core/backend/src/IModelTransformer.ts Line 578 Last Updated: 11 June, 2024