IsPolysurfaceClosed

Verifies a polysurface object is closed.  If the polysurface fully encloses a volume, it is considered a solid.

Syntax

rhinoscriptsyntax.IsPolysurfaceClosed (object_id)

rhinoscript.surface.IsPolysurfaceClosed (object_id)

Parameters

object_id

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

Returns

Boolean

True if successful, otherwise False.

None

On error.

Example

import rhinoscriptsyntax as rs

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

if rs.IsPolysurfaceClosed(obj):

    print "The polysurface is closed."

else:

    print "The polysurface is not closed."

Also See

IsBrep

IsPolysurface

IsPolysurfacePlanar