LinearlyLocated Class

Beta  

A class offering services for LinearlyLocated elements.

Methods

Name Description
getAtLocation(iModel: IModelDb, linearlyLocatedElementId: Id64String): LinearlyReferencedAtLocation | undefined Static Query for the single LinearlyReferenced AtLocation aspect owned by the specified LinearlyLocated Element.  
getAtLocations(iModel: IModelDb, linearlyLocatedElementId: Id64String): LinearlyReferencedAtLocation[] Static Query for LinearlyReferenced AtLocation aspects owned by the specified LinearlyLocated Element.  
getFromToLocation(iModel: IModelDb, linearlyLocatedElementId: Id64String): LinearlyReferencedFromToLocation | undefined Static Query for the single LinearlyReferenced FromToLocation aspect owned by the specified LinearlyLocated Element.  
getFromToLocations(iModel: IModelDb, linearlyLocatedElementId: Id64String): LinearlyReferencedFromToLocation[] Static Query for LinearlyReferenced FromToLocation aspects owned by the specified LinearlyLocated Element.  
getLinearElementId(iModel: IModelDb, linearlyLocatedElementId: Id64String): Id64String | undefined Static Query for the Id of the Linear-Element along which the specified LinearlyLocated Element is located.  
insertAt(iModel: IModelDb, elProps: ElementProps, linearElementId: Id64String, atPosition: LinearlyReferencedAtLocationProps): Id64String Static Insert a new LinearlyLocated element into an iModel at a specific location along an existing Linear-Element.  
insertFromTo(iModel: IModelDb, elProps: ElementProps, linearElementId: Id64String, fromToPosition: LinearlyReferencedFromToLocationProps): Id64String Static Insert a new LinearlyLocated element into an iModel at a specific from-to location along an existing Linear-Element.  
updateAtLocation(iModel: IModelDb, linearlyLocatedElementId: Id64String, linearLocationProps: LinearlyReferencedAtLocationProps, aspectId?: Id64String): void Static Update an existing LinearlyReferencedAtLocation aspect within the iModel.  
updateFromToLocation(iModel: IModelDb, linearlyLocatedElementId: Id64String, linearLocationProps: LinearlyReferencedFromToLocationProps, aspectId?: Id64String): void Static Update an existing LinearlyReferencedFromToLocation aspect within the iModel.  

Defined in

Last Updated: 13 June, 2024