Represents an object which provides access to a specialized Revit annotation element
used for labeling Alignment stations.
Inheritance Hierarchy
System.ObjectAutodesk.Revit.DB.Infrastructure.AlignmentStationLabel
Namespace: Autodesk.Revit.DB.Infrastructure
Assembly: Autodesk.CivilAlignments.DBApplication (in Autodesk.CivilAlignments.DBApplication.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public class AlignmentStationLabel
The AlignmentStationLabel type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| AlignmentId | The ElementId of the Alignment on which the SpotDimension is placed. | |
| Element | The underlying SpotDimension element. | |
| Station | The alignment station at which the SpotDimension is placed. |
Methods
| Name | Description | |
|---|---|---|
| Create | Creates an AlignmentStationLabel object along with its underlying SpotDimension element. Returns null if element creation fails. | |
| CreateRecommendedTypeForSet | Creates an element type recommended for alignment label sets and returns its ElementId. | |
| CreateSet | Creates a collection of AlignmentStationLabel objects along with their underlying SpotDimension elements. | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Get | Returns an AlignmentStationLabel object for the given element. | |
| GetAlignmentStationLabels(Alignment) | Returns all alignment station labels placed on the given alignment. | |
| GetAlignmentStationLabels(Alignment, ElementId) | Returns all alignment station labels placed on the given alignment in the given view. | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| IsRecommendedTypeForSet | Checks if the element type is recommended for alignment labels in sets. | |
| IsValid() | Checks if this object is a valid alignment station label. | |
| IsValid(Element) | Checks if the element is a valid alignment station label. | |
| IsValidType | Checks if the type is a valid alignment station label type. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
