Verifies that an object's grips are turned on.
rhinoscriptsyntax.ObjectGripsOn (object_id)
rhinoscript.grips.ObjectGripsOn (object_id)
object_id |
Required. String or Guid. The identifier of the object. |
Boolean |
True of False indicating success or failure. |
None |
If not successful, or on error. |
import rhinoscriptsyntax as rs
obj = rs.GetObject("Select object")
if rs.ObjectGripsOn(obj):
print "Grip count =", rs.ObjectGripCount(obj)