in other words, I can't Save the File - Maya can't find the name, so it opens the Save As Dialog.
After opening the file:
cmds.file(save=True, type='mayaAscii') // Error: A file must be given a name before saving. Use file -rename first, then try saving again.
Querying the name returns nothing:
Querying the full path and filename works, so i can manually rename the file back to its name, but this seems like a bug...
filename = cmds.file(q=True, exn=True) // Result: C:/Temp/MyFile.ma //
Anyone else encourtered this problem?