Verifies the existence of an object.
rhinocsriptsyntax.IsObject (object_id)
rhinocsript.object.IsObject (object_id)
object_id |
Required. String or Guid. The identifier of an object. |
True |
The object exists. |
False |
The object does not exist. |
import rhinoscriptsyntax as rs
#Do something here...
if rs.IsObject(id):
print "The object exists."
else:
print "The object does not exist."