EnableObjectGrips

Enables or disables an object's grips. For curves and surfaces, these are also called control points.

Syntax

rhinoscriptsyntax.EnableObjectGrips (object_id, enable=True)

rhinoscript.grips.EnableObjectGrips (object_id, enable=True)

Parameters

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.

Returns

Boolean

True of False indicating success or failure.

Example

import rhinoscriptsyntax as rs

objects = rs.GetObjects("Select objects")

if objects: [rs.EnableObjectGrips(obj) for obj in objs]

Also See

ObjectGripCount

ObjectGripsOn

ObjectGripsSelected

SelectObjectGrips

UnselectObjectGrips