IsPolysurface

Verifies an object is a polysurface.  Polysurfaces consists of two or more surfaces joined together. If the polysurface fully encloses a volume, it is considered a solid. In some other 3-D programs, this is called a "quilt."

Syntax

rhinoscriptsyntax.IsPolysurface (object_id)

rhinoscript.surface.IsPolysurface (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")

if rs.IsPolysurface(obj):

    print "The object is a polysurface."

else:

    print "The object is not a polysurface."

Also See

IsBrep

IsPolysurfaceClosed

IsPolysurfacePlanar