onTransformElementAspect MethodProtected

Transform the specified sourceElementAspect into ElementAspectProps for the target iModel.

onTransformElementAspect(sourceElementAspect: ElementAspect, targetElementId: Id64String): 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 Id64String The ElementId of the target Element that will own the ElementAspects after transformation.

Returns - ElementAspectProps

ElementAspectProps for the target iModel.

Defined in

Last Updated: 13 June, 2024