Animation and Rigging Tools: FAQ, Known Issues and Feature Roadmap


Hello Guys,

i just read threw the post about the saving issue with the student version of maya. i am working on a project involving the import of mocap via the import mocap tool from the epic games plugin. But when i want to save the file, an error occurs in the script editor telling:

file -f -save -options “v=0;”;
// Error: line 0: Could not save file “D:-(directory of the scene)-” //.

The image above shows whats appearing when i run the script that is suggested here:
if type(newName) is list:
newName = newName[0]
cmds.file( rename=newName )
cmds.file(save = True, type = “mayaBinary”, force = True, prompt = True)
print “File Saved as:”, newName

And this Error appears after running that script:

Error: line 1: NameError: file <maya console> line 1: name ‘newName’ is not defined

maybe i missed something and i would really appreciate some help :slight_smile: