AlignmentStationLabelGetAlignmentStationLabels(Alignment, ElementId) Method |
Returns all alignment station labels placed on the given alignment in the given view.
Namespace: Autodesk.Revit.DB.InfrastructureAssembly: Autodesk.CivilAlignments.DBApplication (in Autodesk.CivilAlignments.DBApplication.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic static ICollection<AlignmentStationLabel> GetAlignmentStationLabels(
Alignment alignment,
ElementId viewId
)
Public Shared Function GetAlignmentStationLabels (
alignment As Alignment,
viewId As ElementId
) As ICollection(Of AlignmentStationLabel)
public:
static ICollection<AlignmentStationLabel^>^ GetAlignmentStationLabels(
Alignment^ alignment,
ElementId^ viewId
)
static member GetAlignmentStationLabels :
alignment : Alignment *
viewId : ElementId -> ICollection<AlignmentStationLabel>
Parameters
- alignment Alignment
- The alignment for which the labels are returned.
- viewId ElementId
- The ElementId of the view for which the labels are returned.
Return Value
ICollectionAlignmentStationLabel
Remarks
See Also