IsMeshClosed

Verifies a mesh object is closed.

Syntax

rhinoscriptsyntax.IsMeshClosed (object_id)

rhinoscript.mesh.IsMeshClosed (object_id)

Parameters

object_id

Required.  String or Guid.  The object's identifier.

Returns

Boolean

True if successful, otherwise False.

Example

import rhinoscriptsyntax as rs

obj = rs.GetObject("Select a mesh", rs.filter.mesh)

if rs.IsMeshClosed(obj):

    print "The mesh is closed."

else:

    print "The mesh is not closed."

Also See

IsMesh