Computes whether the input Solid is geometrically closed to within Revit's tolerances.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public static bool ComputeIsGeometricallyClosed( Solid geometry )
Parameters
- geometry Solid
- The solid or shell geometry to test.
Return Value
BooleanTrue if the geometry is geometrically closed, false otherwise.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
InvalidOperationException | Failed to compute whether the geometry is geometrically closed. |