onBulkModelEvents MethodProtected Static @beta
Called once per distinct Model ECClass after a bulk element delete operation, combining both sub-model deletions and element-deletions-by-model into a single callback.
arg.deletedModelIds — present when models of this class were deleted as sub-model roots.
The default implementation calls onDeleted for each.
arg.deletedElementsByModel — present when elements were deleted from models of this class.
The default implementation calls onDeleteElement and onDeletedElement for each element.
onBulkModelEvents(arg: OnBulkModelEventsArg): void
@note If you override this method, you must call super.
@note this is the Model class dispatched on.
| Parameter | Type | Description |
|---|---|---|
| arg | OnBulkModelEventsArg |
Returns - void
Defined in
- backend/src/Model.ts Line 242
Last Updated: 28 April, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.