catch will return 1 if the expression in parenthesis produces an error at runtime and 0 otherwise.

This expression is designed to allow users to check for runtime failure and recover, if desired. The use of catch stops a runtime error from being propagated back up through the execution path of the script. Normally, a runtime error results in the termination of the execution of a script or procedure.

safakoner

10-28-2003, 08:06 PM

thanks.

I am trying a code like this. But probably another object selected in the scene and my script cannot go on.