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

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

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: 23 November, 2024