onTransformModel Method
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
- transformer/src/IModelTransformer.ts Line 947
Last Updated: 20 June, 2023