ObjectGripsSelected

Verifies that an object's grips are turned on and at least one grip is selected.

Syntax

rhinoscriptsyntax.ObjectGripsSelected (object_id)

rhinoscript.grips.ObjectGripsSelected (object_id)

Parameters

object_id

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

Returns

Boolean

True of False indicating success or failure.

Example

import rhinoscriptsyntax as rs

obj = rs.GetObject("Select object")

if rs.ObjectGripsSelected(obj):

    rs.UnselectObjectGrips( obj )

Also See

EnableObjectGrips

ObjectGripCount

ObjectGripsOn

SelectObjectGrips

UnselectObjectGrips