GetAlignmentStationLabels Method (Alignment)


Alignment Station Label Get Alignment Station Labels(Alignment) Method

Returns all alignment station labels placed on the given alignment.

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 static ICollection<AlignmentStationLabel> GetAlignmentStationLabels(
	Alignment alignment
)

Parameters

alignment Alignment
The alignment for which the labels are returned.

Return Value

ICollection AlignmentStationLabel
Remarks
The resulting collection may contain both "individual" labels (created via Create(Alignment, View, AlignmentStationLabelOptions) ) and "labels in set" (created via CreateSet(Alignment, View, AlignmentStationLabelSetOptions) ). These labels have categories respectively OST_Alignments and OST_AlignmentStationLabelSets .
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 →