IsValidHorizontalBoundary Method


Boundary Validation Is Valid Horizontal Boundary Method

Identifies whether the given curve loops compose a valid horizontal boundary.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static bool IsValidHorizontalBoundary(
	IList<CurveLoop> curveLoops
)

Parameters

curveLoops IList CurveLoop
The curve loops to be checked.

Return Value

Boolean
True if the given curve loops are valid as described above, false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
Remarks
The curve loops are valid if projections of the loops onto a horizontal(XY) plane do not intersect each other; each curve loop is closed; input curves do not contain any helical curve; and each loop is planar and lies on a plane parallel to the horizontal(XY) plane, but not necessarily the same plane.
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 →