getFromToLocations MethodStatic

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

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

throws IModelError

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

Returns - LinearlyReferencedFromToLocation[]

Returns an array of LinearlyReferencedFromToLocation.

Defined in

Last Updated: 13 June, 2024