deleteModel Method

Deprecated  in 5.1.9 - will not be removed until after 2026-08-04. Use EditTxn.deleteModel instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.

Delete one or more existing models.

deleteModel(ids: Id64Arg): void

@throws IModelError if deletion fails.

Parameter Type Description
ids Id64Arg The Ids of the models to be deleted

Returns - void

Defined in

Last Updated: 05 May, 2026