Operation time limit

Viewed 67

is there a way to time limit the oparations in python, eg:

try:
    cmds.file( file, o=1, pmt=0 )
except:
    print "Sorry, run out of time"
    pass
1 Answers
Related