Verifies that an object's grips are turned on and at least one grip is selected.
rhinoscriptsyntax.ObjectGripsSelected (object_id)
rhinoscript.grips.ObjectGripsSelected (object_id)
object_id |
Required. String or Guid. The identifier of the object. |
Boolean |
True of False indicating success or failure. |
import rhinoscriptsyntax as rs
obj = rs.GetObject("Select object")
if rs.ObjectGripsSelected(obj):
rs.UnselectObjectGrips( obj )