Maya -Python FBX Export with Settings

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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)