API Reference > imodeljs-backend > iModels > IModelTransformer > onTransformElementAspect onTransformElementAspect MethodProtected Transform the specified sourceElementAspect into ElementAspectProps for the target iModel. onTransformElementAspect(sourceElementAspect: ElementAspect, _targetElementId: string): ElementAspectProps note A subclass can override this method to provide custom transform behavior. Parameter Type Description sourceElementAspect ElementAspect The ElementAspect from the source iModel to be transformed. _targetElementId string Returns - ElementAspectProps ElementAspectProps for the target iModel. Defined in core/backend/src/IModelTransformer.ts Line 744 Last Updated: 11 June, 2024