IsEllipse

Verifies an object is an elliptical-shaped curve object.

Syntax

rhinoscriptsyntax.IsEllipse (object_id)

rhinoscript.curve.IsEllipse (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 an ellipse")

if rs.IsEllipse(obj):

    print "The object is an ellipse."

else:

    print "The object is not an ellipse."

Also See

EllipseCenterPoint

EllipseQuadPoints