updateFromToLocation MethodStatic
updateFromToLocation(txn, linearlyLocatedElementId, linearLocationProps, aspectId?)
updateFromToLocation(txn: EditTxn, linearlyLocatedElementId: string, linearLocationProps: LinearlyReferencedFromToLocationProps, aspectId?: string): void
| Parameter | Type | Description |
|---|---|---|
| txn | EditTxn | |
| linearlyLocatedElementId | string | |
| linearLocationProps | LinearlyReferencedFromToLocationProps | |
| aspectId | string |
Returns - void
updateFromToLocation(iModel, linearlyLocatedElementId, linearLocationProps, aspectId?)
Deprecated in 5.1.9 - will not be removed until after 2027-05-04. Use LinearlyLocated.updateFromToLocation(txn, ...) instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.
Update an existing LinearlyReferencedFromToLocation aspect within the iModel.
updateFromToLocation(iModel: IModelDb, linearlyLocatedElementId: string, linearLocationProps: LinearlyReferencedFromToLocationProps, 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 | LinearlyReferencedFromToLocationProps | The properties to use to update the LinearlyReferencedFromToLocation 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: 05 May, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.