Hi, im running the fbx-export plugin from within cinema4d r21 and run into a bug.
documents.SaveDocument(doc, c4dPath, c4d.SAVEDOCUMENTFLAGS_DONTADDTORECENTLIST, c4d.FORMAT_C4DEXPORT)
saved_document = documents.SaveDocument(doc, filePath, c4d.SAVEDOCUMENTFLAGS_DONTADDTORECENTLIST, FBX_EXPORTER_ID)
While it works fine manually using my chosen settings, it throws a critical error while called from the commandline.
CRITICAL: Stop [exporttree.cpp(1908)]
The parameters are identical.
# Define the settings
fbxExport[c4d.FBXEXPORT_FBX_VERSION] = c4d.FBX_EXPORTVERSION_7_4_0
fbxExport[c4d.FBXEXPORT_FLIP_Z_AXIS] = False
fbxExport[c4d.FBXEXPORT_UP_AXIS] = c4d.FBXEXPORT_UP_AXIS_Y
fbxExport[c4d.FBXEXPORT_ASCII] = False
fbxExport[c4d.FBXEXPORT_CLONE_OBJECTS] = True
fbxExport[c4d.FBXEXPORT_LIGHTS] = True
fbxExport[c4d.FBXEXPORT_SPLINES] = False
fbxExport[c4d.FBXEXPORT_TRACKS] = True
fbxExport[c4d.FBXEXPORT_INSTANCES] = True
fbxExport[c4d.FBXEXPORT_SUBSTANCES] = False
fbxExport[c4d.FBXEXPORT_SAVE_NORMALS] = True
fbxExport[c4d.FBXEXPORT_EMBED_TEXTURES] = True
fbxExport[c4d.FBXEXPORT_TEXTURES] = True
fbxExport[c4d.FBXEXPORT_CAMERAS] = False
fbxExport[c4d.FBXEXPORT_SDS] = True
fbxExport[c4d.FBXEXPORT_SDS_SUBDIVISION] = True
fbxExport[c4d.FBXEXPORT_SELECTION_ONLY] = False
The file is identical.
Ive searched online for the error, but i couldnt find a solution. Do you have a github repo were one could join the organization and look further into it?
Im sorry for any typos, i have a deadline on friday and a regression.
Have a nice evening you all.