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?