API Reference > imodeljs-backend > iModels > IModelTransformer > onTransformModel onTransformModel MethodProtected Transform the specified sourceModel into ModelProps for the target iModel. onTransformModel(sourceModel: Model, targetModeledElementId: Id64String): 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 Id64String 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 402 Last Updated: 13 June, 2024