API Reference > imodeljs-backend > Elements > LinearElement > queryLinearLocations queryLinearLocations MethodStatic Query for LinearLocationReferences based on specified query parameters. queryLinearLocations(iModel: IModelDb, linearElementId: Id64String, queryParams: QueryParams): LinearLocationReference[] throws IModelError Parameter Type Description iModel IModelDb linearElementId Id64String queryParams QueryParams Returns - LinearLocationReference[] Returns an array of LinearLocationReferences. Defined in core/backend/src/domains/LinearReferencingElements.ts Line 728 Last Updated: 13 June, 2024