UnselectObjectGrips

Unselects an object's grips. Note, the grips will not be turned off.

Syntax

rhinoscriptsyntax.UnselectObjectGrips (object_id)

rhinoscript.grips.UnselectObjectGrips (object_id)

Parameters

object_id

Required.  String or Guid.  The identifier of the object.

Returns

Number

The number of grips unselected if successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

obj = rs.GetObject("Select object")

if rs.ObjectGripsSelected(obj): rs.UnselectObjectGrips(obj)

Also See

EnableObjectGrips

ObjectGripCount

UnselectObjectGrip