onTransformModel Method

Transform the specified sourceModel into ModelProps for the target iModel.

onTransformModel(sourceModel: Model, targetModeledElementId: string): ModelProps

@returns ModelProps for the target iModel.

@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

Last Updated: 06 November, 2024