I'm writing a tool to export skeletal meshs, static meshes, and character animation FBX files from Maya for use in UE4. Publishing via the Send to Unreal plugin works fine, but I can't reproduce those settings within my script. Here's what I have so far:
mel.eval('FBXExportSmoothingGroups -v true')
mel.eval('FBXExportSmoothMesh -v true')
mel.eval('FBXExportAnimationOnly -v false')
mel.eval('FBXExportInputConnections -v false')
mel.eval('FBXExportFileVersion -v 201600')
I figured setting AnimationOnly and InputConnections to false would do the trick, but it's not working,
I've considered loading a preset file, but I'd like to give the artist some flexibility by allowing to change select settings if need be.