>
> How do I recognize the script that plane1 was deleted manually without
> the error occurs?
>

Is your question just how to check if an object exists? If so, you just do:

if cmds.objExists('plane1'):
     # do stuff if it exists

If not, could you clarify your question a bit more?

- Paul
-- 
http://groups.google.com/group/python_inside_maya

Reply via email to