insert MethodStatic
Insert a SheetPrototype and the SheetModel that sub-models it.
insert(txn: EditTxn, args: Omit<SheetPrototypeCreateArgs, "iModel">): string
@returns The Id of the newly inserted SheetPrototype, which is also the Id of its sub-model.
@throws Error if the iModel contains a version of the BisCore schema older than 01.00.27.
@throws IModelError if there is a problem inserting the element or its sub-model.
| Parameter | Type | Description |
|---|---|---|
| txn | EditTxn | |
| args | Omit<SheetPrototypeCreateArgs, "iModel"> |
Returns - string
The Id of the newly inserted SheetPrototype, which is also the Id of its sub-model.
Defined in
- backend/src/Element.ts Line 2236
Last Updated: 03 December, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.