GetOpeningLoops Method
Retrieves Array of CurveLoops of Analytical Surface Opening.. Only valid openings for hide are allowed.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 18.0.0.0 (18.2.0.0)
Since:  2013

Syntax

C#
public IList<CurveLoop> GetOpeningLoops(
	ElementId openingId
)
Visual Basic
Public Function GetOpeningLoops ( _
	openingId As ElementId _
) As IList(Of CurveLoop)
Visual C++
public:
IList<CurveLoop^>^ GetOpeningLoops(
	ElementId^ openingId
)

Parameters

openingId
Type: Autodesk.Revit.DB..::..ElementId
Identifies which Opening creates the CurveLoop in the analytical surface.

Return Value

Array of CurveLoops associated with Opening.

Exceptions

ExceptionCondition
Autodesk.Revit.Exceptions..::..ArgumentException openingId is invalid for Analytical Model Surface.
Autodesk.Revit.Exceptions..::..ArgumentNullException A non-optional argument was NULL

See Also