Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

Fbx export of animation from maya

Fbx export of animation from maya

Anonymous
Not applicable
1,371 Views
3 Replies
Message 1 of 4

Fbx export of animation from maya

Anonymous
Not applicable

Dear all,

 

i would be really happy if you could help me to export three animations from maya in fbx. There is a 60 second animation, it should be splitted into three 1-20 second, 21-40 second, and 41-60 second.

 

As a result I need to have an fbx file, which when loaded to FBX Review allows to swich between these three animations.

 

Thank you all in advance!

 

cbab84aa4b86b9c7ab1451b6be22195c.png

0 Likes
Accepted solutions (1)
1,372 Views
3 Replies
Replies (3)
Message 2 of 4

saihtam
Collaborator
Collaborator
Accepted solution

Hey, as far as I know you can't do this via a nice UI in Maya unless you get a script/plugin from somewhere. But it is quite easy to do with code. You just need to tweak one simple line.

 

FBXExportSplitAnimationIntoTakes -v "nameOfTake" startFrame endFrame;

You just need to run that in your scene for each of your takes. I did a test of one FBX file with three takes and used this code.

 

FBXExportSplitAnimationIntoTakes -v "first" 1 10;
FBXExportSplitAnimationIntoTakes -v "second" 20 30;
FBXExportSplitAnimationIntoTakes -v "third" 40 50;

That gives me this:

 

https://gyazo.com/28761d30a97e76613e2f0c94cace0a96

 

You can also run this line to get the information about the takes you have created.

 

FBXExportSplitAnimationIntoTakes -q

Hope that helps. Let us know if you need any more help.

 

I found this information on this page which shows the different MEL commands for FBX.

- Mathias
Message 3 of 4

Anonymous
Not applicable

Thank you so mush for your reply! 

0 Likes
Message 4 of 4

Anonymous
Not applicable

This works - thank you so much!!!

0 Likes