API Reference > imodeljs-backend > Elements > LinearlyLocated > updateAtLocation updateAtLocation MethodStatic Update an existing LinearlyReferencedAtLocation aspect within the iModel. updateAtLocation(iModel: IModelDb, linearlyLocatedElementId: Id64String, linearLocationProps: LinearlyReferencedAtLocationProps, 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 LinearlyReferencedAtLocationProps The properties to use to update the LinearlyReferencedAtLocation 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 574 Last Updated: 13 June, 2024