GetClosestStation Method


Alignment Get Closest Station Method

Calculates the alignment station closest to the given model point.

Namespace: Autodesk.Revit.DB.Infrastructure
Assembly: Autodesk.CivilAlignments.DBApplication (in Autodesk.CivilAlignments.DBApplication.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public double GetClosestStation(
	XYZ point
)

Parameters

point XYZ
The model point for which to calculate the closest station.

Return Value

Double
The alignment station closest to the given model point, in Revit internal model units (standard Imperial feet).
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →