IsCurveLoopValidForAnalyticalOpening Method


Analytical Opening Is Curve Loop Valid For Analytical Opening Method

Checks if curve loop is valid for Analytical Opening.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static bool IsCurveLoopValidForAnalyticalOpening(
	CurveLoop loop,
	Document aDoc,
	ElementId panelId
)

Parameters

loop CurveLoop
The curve loop to be checked.
aDoc Document
Revit document.
panelId ElementId
ElementId of the AnalyticalPanel on which we create the Opening.

Return Value

Boolean
Returns true if curve loop is ok, false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
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 →