IsObject

Verifies the existence of an object.

Syntax

rhinocsriptsyntax.IsObject (object_id)

rhinocsript.object.IsObject (object_id)

Parameters

object_id

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

Returns

True

The object exists.

False

The object does not exist.

Example

import rhinoscriptsyntax as rs

#Do something here...

if rs.IsObject(id):

    print "The object exists."

else:

    print "The object does not exist."

Also See

IsObjectHidden

IsObjectInGroup

IsObjectLocked

IsObjectNormal

IsObjectReference

IsObjectSelectable

IsObjectSelected

IsObjectSolid