I’m trying to export an animation layer as a MayaBinary file in python.
I can’t find any clear examples on how to do it, has anyone tried it before?
My current work-a-round is to use this:
command = str('animLayersSaveExportClbc "' + export_filepath_mb + '.mb" "mayaBinary";')
mel.eval(command)
However this breaks all future standard exports. When I tried exporting a selection as an FBX it would not work correctly until I closed and reopened Maya. I’m looking for a less tedious solution if possible.