I'd like to triangulate the geometry when exporting a fbx from python. I've been searching the documentation for the id for the "triangulate geometry" option, but it looks like there's nothing about it. Also, the fbx exporter has no id like the others. For example the object export is c4d. FORMAT_OBJ2EXPORT while the fbx export is 1026370
Here's a piece of my script
container = c4d.plugins.GetWorldPluginData(1026370)
for id, value in container:
if id == c4d.FBXEXPORT_TRIANGULATE_GEOMETRY: container[id] = 1
Hi @Rage, I think this question is related to the another topic you posted, so I will not explain again how import/export works in CInema 4D.
In your case, you have to use FBXEXPORT_TRIANGULATE and not FBXEXPORT_TRIANGULATE_GEOMETRY.
And yes you are right, currently, no symbol is defined for the FBX exporter so you have to use 1026370 directly.