API Reference > imodeljs-backend > Elements > LinearlyLocated > updateFromToLocation updateFromToLocation MethodStatic Update an existing LinearlyReferencedFromToLocation aspect within the iModel. updateFromToLocation(iModel: IModelDb, linearlyLocatedElementId: Id64String, linearLocationProps: LinearlyReferencedFromToLocationProps, aspectId?: Id64String): void throws IModelError Parameter Type Description iModel IModelDb The iModel to update. linearlyLocatedElementId Id64String The Id of the owning Linearly Located Element. linearLocationProps LinearlyReferencedFromToLocationProps The properties to use to update the LinearlyReferencedFromToLocation aspect. aspectId Id64String The Id of the aspect to update. If not known, the first aspectId will be looked-up. Returns - void Defined in core/backend/src/domains/LinearReferencingElements.ts Line 601 Last Updated: 13 June, 2024