updateAtLocation MethodStatic


updateAtLocation(txn, linearlyLocatedElementId, linearLocationProps, aspectId?)

updateAtLocation(txn: EditTxn, linearlyLocatedElementId: string, linearLocationProps: LinearlyReferencedAtLocationProps, aspectId?: string): void

Parameter Type Description
txn EditTxn  
linearlyLocatedElementId string  
linearLocationProps LinearlyReferencedAtLocationProps  
aspectId string  

Returns - void



updateAtLocation(iModel, linearlyLocatedElementId, linearLocationProps, aspectId?)

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

Update an existing LinearlyReferencedAtLocation aspect within the iModel.

updateAtLocation(iModel: IModelDb, linearlyLocatedElementId: string, linearLocationProps: LinearlyReferencedAtLocationProps, aspectId?: string): void

@throws IModelError

Parameter Type Description
iModel IModelDb The iModel to update.
linearlyLocatedElementId string The Id of the owning Linearly Located Element.
linearLocationProps LinearlyReferencedAtLocationProps The properties to use to update the LinearlyReferencedAtLocation aspect.
aspectId string The Id of the aspect to update. If not known, the first aspectId will be looked-up.

Returns - void


Defined in

Last Updated: 25 April, 2026