Hi all,

I'm trying to write a simple lockfile system for maya (hey, user X has
that file open!) and I'm trying to catch when the current filename
changes (ie, saveAs, etc).

I'm monitoring the OpenMaya.MSceneMessage.kBeforeSave event, but
querying cmds.file(query=True, sn=True) gives me the *new* name, as
does OpenMaya.MFileIO.beforeSaveFilename(). i need both the old and
new filenames to compare.

Am i barking up the wrong tree, or does anyone have any insights?

Many Thanks,
chrisg

-- 
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/CAPoKtNek2mMAERcMtNAt_MkdOUaVUg%2BqpES_RCbqZ2KHp7RtoA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to