getLinearElementId MethodStatic

Query for the Id of the Linear-Element along which the specified LinearlyLocated Element is located.

getLinearElementId(iModel: IModelDb, linearlyLocatedElementId: string): undefined | string

Parameter Type Description
iModel IModelDb The iModel to query from.
linearlyLocatedElementId string The id of the LinearlyLocated Element to query a Linear-Element for.

Returns - undefined | string

Returns the Id of the Linear-Element or undefined is none is assigned.

Defined in

Last Updated: 30 November, 2023