deleteElementTreeCascade Function
Deletes an element tree and code scope references starting with the specified top element. The top element is also deleted. Uses ElementCascadeDeleter.
deleteElementTreeCascade(iModel: IModelDb, topElement: string): void
| Parameter | Type | Description | 
|---|---|---|
| iModel | IModelDb | The iModel | 
| topElement | string | The parent of the sub-tree | 
Returns - void
Defined in
Last Updated: 10 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.