onInsert MethodProtectedStatic

Beta  

Called before a new Element is inserted.

onInsert(props: ElementProps, iModel: IModelDb): void

throws IModelError if there is a problem

note Any class that overrides this method must call super.

Parameter Type Description
props ElementProps  
iModel IModelDb  

Returns - void

Defined in

Last Updated: 13 June, 2024