insertAt MethodStatic


insertAt(txn, modelId, categoryId, linearElementId, atPosition, locatedElementId) @beta

Insert a new LinearLocation using an explicit transaction.

insertAt(txn: EditTxn, modelId: string, categoryId: string, linearElementId: string, atPosition: LinearlyReferencedAtLocationProps, locatedElementId: string): string

Parameter Type Description
txn EditTxn  
modelId string  
categoryId string  
linearElementId string  
atPosition LinearlyReferencedAtLocationProps  
locatedElementId string  

Returns - string



insertAt(iModel, modelId, categoryId, linearElementId, atPosition, locatedElementId)

Deprecated  Use LinearLocation.insertAt(txn, ...) instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.

Insert a new LinearLocation.

insertAt(iModel: IModelDb, modelId: string, categoryId: string, linearElementId: string, atPosition: LinearlyReferencedAtLocationProps, locatedElementId: string): string

Parameter Type Description
iModel IModelDb  
modelId string  
categoryId string  
linearElementId string  
atPosition LinearlyReferencedAtLocationProps  
locatedElementId string  

Returns - string


Defined in

Last Updated: 28 April, 2026