onCloned MethodProtected Static @beta

Called during the iModel transformation process after an Element from the source iModel was cloned for the target iModel. The transformation process automatically handles remapping BisCore properties and those that are properly described in ECSchema. This callback is only meant to be overridden if there are other Ids in non-standard locations that need to be remapped or other data that needs to be fixed up after the clone.

onCloned(context: IModelElementCloneContext, srcProps: AnnotationTextStyleProps, dstProps: AnnotationTextStyleProps): Promise<void>

@note If you override this method, you must call super.

Parameter Type Description
context IModelElementCloneContext  
srcProps AnnotationTextStyleProps  
dstProps AnnotationTextStyleProps  

Returns - Promise

Defined in

Last Updated: 29 October, 2025