Retrieves Array of CurveLoops of Analytical Surface Opening..
Only valid openings for hide are allowed.
Namespace: Autodesk.Revit.DB.StructureAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
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
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentException | openingId is invalid for Analytical Model Surface. |
| Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |