IsClippingPlane

Verifies that an object is a clipping plane object.

Syntax

rhinoscriptsyntax.IsClippingPlane (object_id)

rhinoscript.geometry.IsClippingPlane (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

id = rs.GetObject("Select a clipping plane")

if rs.IsClippingPlane(id):

    print "The object is a clipping plane."

else:

    print "The object is not a clipping plane."

Also See

AddClippingPlane