SelectObjectGrips

Selects an object's grips. If the object's grips are not turned on, they will not be selected.

Syntax

rhinoscriptsyntax.SelectObjectGrips (object_id)

rhinoscript.grips.SelectObjectGrips (object_id)

Parameters

object_id

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

Returns

Number

The number of grips selected if successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

obj = rs.GetObject("Select object")

if rs.ObjectGripsSelected(obj)==False:

    rs.SelectObjectGrips( obj )

Also See

EnableObjectGrips

ObjectGripCount

SelectObjectGrip