RVTDocs.com
Namespace: Autodesk.Revit.DB Class: Mesh

Mesh.IsClosed

Property
Description:
Indicates whether the mesh is closed.
Remarks:
Every time this property is accessed, it is computed from scratch, so accessing it multiple times will come at a performance cost. A mesh is closed when each of its edges has two (or more) faces. If an edge has more than two faces (meaning that it's a non-manifold edge), the mesh still may be closed.
Syntax
public bool IsClosed { get; }