GetLoops Method


Returns curve loops that define geometry of the area boundary conditions.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2016

Syntax

C#
public IList<CurveLoop> GetLoops()
Visual Basic
Public Function GetLoops As IList(Of CurveLoop)
Visual C++
public:
IList<CurveLoop^>^ GetLoops()

Return Value

The curve loop collection.

Remarks

Boundary conditions should be BoundaryConditionsType::Area type. Otherwise exception is thrown.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsInvalidObjectException Thrown when BoundaryConditions is not a BoundaryConditionsType::Area type.

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 →