HasRegions Property


Identifies if the face contains regions (which can be created, for example, by the Split Face command).

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

Syntax

C#
public bool HasRegions { get; }
Visual Basic
Public ReadOnly Property HasRegions As Boolean
	Get
Visual C++
public:
property bool HasRegions {
	bool get ();
}

Remarks

If this is true, use GetRegions to get access to the specific Faces which make up the regions.

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →