Revit 2026 API
Solid |
Compute whether the input Solid is topologically closed.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public static bool ComputeIsTopologicallyClosed( Solid geometry )
Public Shared Function ComputeIsTopologicallyClosed ( geometry As Solid ) As Boolean
public: static bool ComputeIsTopologicallyClosed( Solid^ geometry )
static member ComputeIsTopologicallyClosed : geometry : Solid -> bool
Parameters
- geometry Solid
- The solid or shell geometry to test.
Return Value
BooleanTrue if the geometry is topologically closed, false otherwise.
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
A solid is topologically closed if every face has at least one edge loop and
every edge is shared by exactly two faces. If the geometry contains multiple
connected components, the function returns true if and only if every connected
component is topologically closed.
See Also