13 Dec
2006
13 Dec
'06
2:32 p.m.
Andrew Milton escribió:
+-------[ David Bear ]---------------------- | Can anyone show me code examples of a script that checks for the | existences of a named object?
if namedObject in container.objectIds(): # object exists else: # doesn't
Checks for named object inside the container that the script is in.
hasattr(container, 'id')