Calculates the relative distance along the alignment between two stations based on their alignment distances according to Revit Internal Origin Coordinate Base. The distance may be positive or negative depending on the relative positions of the input stations on the alignment.
Namespace: Autodesk.Revit.DB.Infrastructure
Assembly: Autodesk.CivilAlignments.DBApplication (in Autodesk.CivilAlignments.DBApplication.dll) Version: 24.0.0.0 (24.0.0.0)
Since: 2021.1
Syntax
C# |
---|
|
Visual Basic |
---|
|
Visual C++ |
---|
|
Parameters
- fromStation
- Type: SystemDouble
The displayed alignment station from which 2D length is to be calculated, in Revit internal model units (standard Imperial feet).
- toStation
- Type: SystemDouble
The displayed alignment station to which 2D length is to be calculated, in Revit internal model units (standard Imperial feet).