Selects an object's grips. If the object's grips are not turned on, they will not be selected.
rhinoscriptsyntax.SelectObjectGrips (object_id)
rhinoscript.grips.SelectObjectGrips (object_id)
object_id |
Required. String or Guid. The identifier of the object. |
Number |
The number of grips selected if successful. |
None |
If not successful, or on error. |
import rhinoscriptsyntax as rs
obj = rs.GetObject("Select object")
if rs.ObjectGripsSelected(obj)==False:
rs.SelectObjectGrips( obj )