Hey all - i was wondering if any of you knew of a way to tell, when you're
inside of a reference unload callback - ie,
MSceneMessage.addCallback(kAfterUnloadReference) - whether it's done as the
result of an attempt to replace or reload a reference - ie, if you did
cmds.file("newPath.ma", loadReference="refNodeRN").For instance, inside of a file new callback, you can use MFileIO.isOpeningFile() to tell whether the new operation is as the result of a file open - I'd be looking for something similar to tell if a unload reference is as the result of a load reference. Anybody ever done anything like this? -- 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/CAAssL7bSi%3DiSqg9JipNtUYtUZUzMs9Sev4r3zZmma3GNKV2yew%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
