2025.3 Members
Changes 2
M

Alignment Methods

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