GetRegions Method


Gets the face regions (created, for example, by the Split Face command) of the face.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 17.0.0.0 (17.0.1090.0)

Syntax

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

Return Value

A list of faces, one for the main face of the object hosting the Split Face (such as wall or floor) and one face for each Split Face regions.

Remarks

Use the FaceSplitter class to filter and find elements which may generate face regions.

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 →