C

Alignment

Description:
Represents an object which provides access to an underlying Revit alignment element.
Remarks:
The element is a DirectShape. The element's category is OST_Alignments.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.Infrastructure.Alignment
public class Alignment
Name Return Type Description Inherited From
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M Get(Element) Alignment Returns an Alignment object given a Revit alignment element.
M Get(Document, Guid) Alignment Returns an Alignment in the document given its GUID.
M GetAlignments(Document) ICollection<Alignment> Returns all alignments in the given document.
M GetAlignments(View) ICollection<Alignment> Returns all alignments visible in the given view.
M GetClosestPoint(XYZ) XYZ Calculates the point on the alignment's geometry which is closest to the given model point.
M GetClosestStation(XYZ) Double Calculates the alignment station closest to the given model point.
M GetDisplayedHorizontalCurveEndpoints() IList<HorizontalCurveEndpoint> Returns the endpoints of the alignment's horizontal curves. Only the points between DisplayedStartStation and DisplayedEndStation are returned.
M GetDistance(Double, Double) Double 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.
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetHCurveNormalAtStation(Double) XYZ Calculate 2d (X and Y components of returned vector) horizontal normal at given station.
M GetHCurveTangentAtStation(Double) XYZ Calculate 2d (X and Y components of returned vector) horizontal tangent at given station.
M GetPointAtStation(Double) XYZ Calculates the model point for a given alignment station.
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M GetVCurveNormalAtStation(Double) XYZ Calculate 2d (X and Y components of returned vector) vertical normal at given station.
M GetVCurveTangentAtStation(Double) XYZ Calculate 2d (X and Y components of returned vector) vertical tangent at given station.
M IsValid() Boolean Checks if this object is a valid alignment.
M IsValid(Element) Boolean Checks if the element is a valid alignment.
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P Description string The Description of this alignment.
P DisplayedEndStation double Specifies the station at which the alignment's display ends, in Revit internal model units (standard Imperial feet).
P DisplayedStartStation double Specifies the station at which the alignment's display starts, in Revit internal model units (standard Imperial feet).
P Element Element The underlying DirectShape element.
P EndStation double Specifies the station at which the alignment's geometric definition ends, in Revit internal model units (standard Imperial feet).
P GUID Guid The GUID of this alignment.
P Name string The Name of this alignment.
P StartStation double Specifies the station at which the alignment's geometric definition starts, in Revit internal model units (standard Imperial feet).