GetAlignments Method (View)


Returns all alignments visible in the given view.

Namespace: Autodesk.Revit.DB.Infrastructure
Assembly: Autodesk.CivilAlignments.DBApplication (in Autodesk.CivilAlignments.DBApplication.dll) Version: 21.0.0.0 (21.1.1.109)
Since: 2021.1

Syntax

C#
public static ICollection<Alignment> GetAlignments(
	View view
)
Visual Basic
Public Shared Function GetAlignments ( _
	view As View _
) As ICollection(Of Alignment)
Visual C++
public:
static ICollection<Alignment^>^ GetAlignments(
	View^ view
)

Parameters

view
Type: Autodesk.Revit.DB View
The view for which the alignments are returned.

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 →