Gets the FaceRegions in the existing face.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since: 2012
Syntax
C# |
---|
|
Visual Basic |
---|
|
Visual C++ |
---|
|
Parameters
- cda
- Type: Autodesk.Revit.DBDocument
The Document.
- referenceOfFace
- Type: Autodesk.Revit.DBReference
The Reference of the existing face.
Return Value
The FaceRegions in the existing face, or an empty collection if no FaceRegions are found.Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.ExceptionsArgumentException | The Reference is not a Face Reference. |
Autodesk.Revit.ExceptionsArgumentNullException | A non-optional argument was null |