Call for Submission
NAB 2012 Best of the Best Show Reel
Submit your work today!
  • 1/3
You are here: Forum Home / Autodesk® FBX® / FBX Plug-ins Import-Export Discussions / python and FBX export import
  RSS 2.0 ATOM  

python and FBX export import
Rate this thread
 
35655
 
Permlink of this thread   Subscribe to this thread
avatar
  • jeep23
  • Posted: 16 October 2009 05:57 AM
  • Total Posts: 7
  • Joined: 23 August 2006 09:16 PM

I am using mayapy.exe and maya.standalone to run python scripts on maya files, but I need to run FBX import/export commands, can someone tell me the proper syntax?

I tried:  mel.eval(`FBXExport -f test.fbx`) but it doesn’t seem to work.

Thanks,

Jeepster



http://area.autodesk.com/blogs/stevenr/maya_motionbuilder_workflow_demo_part1
http://area.autodesk.com/blogs/stevenr/maya_motionbuilder_workflow_demo_part2

Replies: 0
avatar
  • Liang.Ma
  • Posted: 28 October 2009 09:56 PM

missing quotations? The cmds below works in Maya script editor.

import maya.mel as mel
mel
.eval('FBXExport -f "D:/box.fbx";')

syntax:
FBXImport -f “filename” [-t take_index_zero_based]
FBXExport -f “filename” [-s]

-Liang



Replies: 0




   
  Settings Choose Theme color: