Skip to content

Instantly share code, notes, and snippets.

@yohawing
Created September 24, 2020 07:25
Show Gist options
  • Save yohawing/130fd4ac51dd832b925818b8ee5acde4 to your computer and use it in GitHub Desktop.
Save yohawing/130fd4ac51dd832b925818b8ee5acde4 to your computer and use it in GitHub Desktop.
Mayaファイルをバッチ処理でFBXExportするさせる
SET MAYABATCH="C:\Program Files\Autodesk\Maya2020\bin\mayabatch.exe"
SET mayafile=%1
SET outfile=%2
SET VER=FBXExportFileVersion -v FBX201800;
SET TRI=FBXExportTriangulate -v true;
SET PROPS=%VER%%TRI%
%MAYABATCH% -file %mayafile% -command "%PROPS%FBXExport -f ""%outfile%"";"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment