onInsertElement MethodProtected

Create a new Element from the specified ElementProps and insert it into the target iModel.

onInsertElement(elementProps: ElementProps): string

note A subclass may override this method to customize insert behavior but should call super.onInsertElement.

Parameter Type Description
elementProps ElementProps  

Returns - string

The Id of the newly inserted Element.

Defined in

Last Updated: 11 June, 2024