getFromToLocations MethodStatic

Query for LinearlyReferenced FromToLocation aspects owned by the specified LinearlyLocated Element.

getFromToLocations(iModel: IModelDb, linearlyLocatedElementId: string): LinearlyReferencedFromToLocation[]

throws IModelError

Parameter Type Description
iModel IModelDb The iModel to query from.
linearlyLocatedElementId string The id of the LinearlyLocated Element to query aspects about.

Returns - LinearlyReferencedFromToLocation[]

Returns an array of LinearlyReferencedFromToLocation.

Defined in

Last Updated: 12 June, 2024