LinearlyLocated Class

Beta

A class offering services for LinearlyLocated elements.

Methods

Name Description
getAtLocation(iModel: IModelDb, linearlyLocatedElementId: Id64String): LinearlyReferencedAtLocationProps | undefined Static Query for the single LinearlyReferenced AtLocation aspect owned by the specified LinearlyLocated Element.  
getAtLocations(iModel: IModelDb, linearlyLocatedElementId: Id64String): LinearlyReferencedAtLocationProps[] Static Query for LinearlyReferenced AtLocation aspects owned by the specified LinearlyLocated Element.  
getFromToLocation(iModel: IModelDb, linearlyLocatedElementId: Id64String): LinearlyReferencedFromToLocationProps | undefined Static Query for the single LinearlyReferenced FromToLocation aspect owned by the specified LinearlyLocated Element.  
getFromToLocations(iModel: IModelDb, linearlyLocatedElementId: Id64String): LinearlyReferencedFromToLocationProps[] Static Query for LinearlyReferenced FromToLocation aspects owned by the specified LinearlyLocated Element.  
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, linearLocationProps: LinearlyReferencedAtLocationAspectProps): void Static Update an existing LinearlyReferencedAtLocation aspect within the iModel.  
updateFromToLocation(iModel: IModelDb, linearLocationProps: LinearlyReferencedFromToLocationAspectProps): void Static Update an existing LinearlyReferencedFromToLocation aspect within the iModel.  

Defined in

Last Updated: 10 September, 2019