Get Method (Element)


Alignment Get(Element) Method

Returns an Alignment object given a Revit alignment element.

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 Alignment Get(
	Element alignmentElement
)

Parameters

alignmentElement Element
The alignment element.

Return Value

Alignment
An Alignment for this element, or null if none found.
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 →