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

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →