onInsertElement MethodProtected

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

onInsertElement(elementProps: ElementProps): Id64String

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

Parameter Type Description
elementProps ElementProps  

Returns - The Id of the newly inserted Element.

Defined in

Last Updated: 08 January, 2020