insert MethodStatic
insert(txn, parentSubjectId, name)
Insert a SheetIndexPartition and a SheetIndexModel that sub-models it.
insert(txn: EditTxn, parentSubjectId: string, name: string): string
@returns The Id of the newly inserted SheetIndexModel. *
@throws IModelError if there is an insert problem.
| Parameter | Type | Description |
|---|---|---|
| txn | EditTxn | The active EditTxn. * |
| parentSubjectId | string | The SheetIndexPartition will be inserted as a child of this Subject element. * |
| name | string | The name of the SheetIndexPartition that the new SheetIndexModel will sub-model. * |
Returns - string
The Id of the newly inserted SheetIndexModel. *
insert(iModelDb, parentSubjectId, name)
Deprecated Use SheetIndexModel.insert(txn, ...) instead.
insert(iModelDb: IModelDb, parentSubjectId: string, name: string): string
| Parameter | Type | Description |
|---|---|---|
| iModelDb | IModelDb | |
| parentSubjectId | string | |
| name | string |
Returns - string
Defined in
- backend/src/Model.ts Line 597
Last Updated: 18 April, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.