Enables or disables an object's grips. For curves and surfaces, these are also called control points.
rhinoscriptsyntax.EnableObjectGrips (object_id, enable=True)
rhinoscript.grips.EnableObjectGrips (object_id, enable=True)
object_id |
Required. String or Guid. The identifier of the object. |
enable |
Optional. Boolean. If True (default), the specified object's grips will be turned on. Otherwise, they will be turned off. |
Boolean |
True of False indicating success or failure. |
import rhinoscriptsyntax as rs
objects = rs.GetObjects("Select objects")
if objects: [rs.EnableObjectGrips(obj) for obj in objs]