Hey Fredrik, I am also watching events on newScene and mayaExit. Maya crashing is the tricky one.
However, i'm not stopping the user from doing anything if there's a lock on the scene. It's for information purposes only. It's not my job to prevent people from doing things if it won't kill 'em :) cheers, chrisg On 4 August 2014 20:53, Fredrik Averpil <[email protected]> wrote: > Forgive me for perhaps missing a step here... but how do you detect the fact > that you close the scene, maya exists or maya crashes? > --- meaning, when to know to remove the lock file? > > > Fredrik > > > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPoKtNdxPaHsoE%3DSewQvS0TeujyY7GNWcuUo3GZybUqCXwDfeA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
