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 |
Defined in
Last Updated: 05 June, 2020