Revit 2025 API
Curve |
Gets the FaceRegions in the existing face.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static IList<Reference> GetFaceRegions( Document cda, Reference referenceOfFace )
Public Shared Function GetFaceRegions ( cda As Document, referenceOfFace As Reference ) As IList(Of Reference)
public: static IList<Reference^>^ GetFaceRegions( Document^ cda, Reference^ referenceOfFace )
static member GetFaceRegions : cda : Document * referenceOfFace : Reference -> IList<Reference>
Parameters
Return Value
IListReferenceThe FaceRegions in the existing face, or an empty collection if no FaceRegions are found.

Exception | Condition |
---|---|
ArgumentException | The Reference is not a Face Reference. |
ArgumentNullException | A non-optional argument was null |
See Also