API Reference > imodeljs-backend > Elements > LinearlyLocated > getAtLocation getAtLocation MethodStatic Query for the single LinearlyReferenced AtLocation aspect owned by the specified LinearlyLocated Element. If more than one aspect is expected, use LinearlyLocated.getAtLocations instead. getAtLocation(iModel: IModelDb, linearlyLocatedElementId: Id64String): LinearlyReferencedAtLocation | undefined throws IModelError Parameter Type Description iModel IModelDb The iModel to query from. linearlyLocatedElementId Id64String The id of the LinearlyLocated Element to query about. Returns - LinearlyReferencedAtLocation | undefined Returns an LinearlyReferencedAtLocation or undefined is none is found. Defined in core/backend/src/domains/LinearReferencingElements.ts Line 557 Last Updated: 13 June, 2024