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(editTxn: EditTxn, topElement: string): void

Parameter Type Description
editTxn EditTxn The active EditTxn for the iModel
topElement string The parent of the sub-tree

Returns - void

Defined in

Last Updated: 27 July, 2026