Unable to save Maya scene after importing fbx animation

I am using the mannequin rig. If I export or import fbx animation using ART, I am no longer able to save my Maya scene file. I get the error in this picture…

I am using Maya 2014. I got the ART files from Unreal 4.9

Hi alliways,

Does this occur with the “Save As” option too?

-.

Yes. It occurs either way.

Hey alliways,

I’ve got an email out to the dev responsible for the ART tool. I’ll update you when I hear something.

-.

Are you using a student version of Maya?

Hey alliways,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

-.

I got the same Problem and i’m using a student version of maya.
tried out with the script:

if type(newName) is list:
newName = cmds.file(q = True, sceneName = True)
newName = newName[0]
cmds.file( rename=newName )
cmds.file(save = True, type = “mayaBinary”, force = True, prompt = True)
print “File Saved as:”, newName

but it didn’t work, only that appeared on the next line:

Error: line 1: NameError: file line 1: name ‘newName’ is not defined

Hey LilaAlu,

So are you using hte 4.9 version of ART? If so, please use 4.13.

Do you have the updated scripts from the dropbox link in this post: Animation and Rigging Tools: FAQ, Known Issues and Feature Roadmap - Character & Animation - Epic Developer Community Forums

-.

If you get the

Error: line 1: NameError: file line 2: name ‘newName’ is not defined

try to write something like this:

newName = ['YourPath\YourFileName.mb'];   
 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

Hello! The provided answer did not resolve the issue, however, the following script did:

newName = ['YourPath\YourFileName.mb'];
if type(newName) is list:
    newName = newName[0]
    cmds.file
    cmds.file(save = True, type = "mayaBinary", force = True, prompt = True)
    print "File Saved as:", newName

This may not be the best fix because I still have to run the script every time I import a fbx into a new scene using ART, but its provided me a temporary fix. Hopefully, this helps someone else out!

(If you receive this “# Error: line 1: unexpected indent # " just take the space out before"if”)