AnalyticalOpening.IsCurveLoopValidForAnalyticalOpening
Method
Description:
Checks if curve loop is valid for Analytical Opening.
Checks if curve loop is valid for Analytical Opening.
Syntax
public static bool IsCurveLoopValidForAnalyticalOpening(
CurveLoop loop,
Document aDoc,
ElementId panelId
)
Parameters
Parameter | Type | Description |
---|---|---|
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
Type | Description |
---|---|
Boolean | Returns true if curve loop is ok, false otherwise. |
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |