onInsert MethodProtectedStatic

Beta

Called before a new Element is inserted.

onInsert(_props: ElementProps, _iModel: IModelDb): void

throws IModelError if there is a problem

Parameter Type Description
_props ElementProps  
_iModel IModelDb  

Defined in

Last Updated: 20 September, 2019