Verifies that an object is a clipping plane object.
rhinoscriptsyntax.IsClippingPlane (object_id)
rhinoscript.geometry.IsClippingPlane (object_id)
object_id |
Required. String or Guid. The object's identifier. |
Boolean |
True if successful, otherwise False. |
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."