Maya -Python FBX Export with Settings

Maya -Python FBX Export with Settings

Anonymous
Not applicable
3,130 Views
1 Reply
Message 1 of 2

Maya -Python FBX Export with Settings

Anonymous
Not applicable

Hello, I am currently working on a project where I have to export a few animations in a FBX format, now, some of the files have to be have different 'File Type Specific Options' i.e Animation = False.

The problem is, that I cant find a way around to do such thing

I tried

 

import maya.mel as mm

 

mm.eval("FBXExportBakeComplexAnimation -v true")

 

mm.eval("FBXExport -f \"" +fbxSaveFile+"\" -s")

 

 

//////////////////////////////////////////////////////////////////////////////

as well as using...............

 

 

import maya.cmds as cmds

 

 

cmds.file(filename, es = True, Type = 'FBX')

 

but the first one gets me with an  'Error occurred during execution of MEL script'

and the second one does it, but i cant change any properties of it

 

 

I would appreciate the help here

Thanks for the time

 

sorry for my grammar (foreign problems)

 

 

 

0 Likes
3,131 Views
1 Reply
Reply (1)
Message 2 of 2

138930709
Observer
Observer

I used the second method,yes,by puthon,I find I cont export animation with this fbx. I think i need add a new flag but i dont know use which flag

0 Likes