IsSurfaceRational

Verifies a surface object is rational.

Syntax

rhinoscriptsyntax.IsSurfaceRational (surface_id)

rhinoscript.surface.IsSurfaceRational (surface_id)

Parameters

surface_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 surface", rs.filter.surface)

if rs.IsSurfaceRational(obj):

    print "The surface is rational."

else:

    print "The surface is not rational."

Also See

IsSurface

IsSurfaceClosed

IsSurfacePeroidic

IsSurfacePlanar

IsSurfaceTrimmed