Solved No fbx exporter in python library?

Hi all,

I'm trying to export a file to fbx format, I'm using R20. On the graphic user interface there's the option to export as fbx format, while, on the python documentation there's not.
Here's the reference:

https://developers.maxon.net/docs/Cinema4DPythonSDK/html/modules/c4d.documents/index.html?highlight=savedocument#c4d.documents.SaveDocument

What am I missing?

Hi Rage,

Unfortunately several importers and exporters do not have a constant for their ID. This is the case for FBX.
The ID for the FBX exporter is 1026370.

To find the ID of a specific exporter you can use the following code:

import c4d

saverPlugs = c4d.plugins.FilterPluginList(c4d.PLUGINTYPE_SCENESAVER, True)
for plug in saverPlugs:
    print('{} : {}'.format(plug.GetName(), plug.GetID()))

I turned the topic into a Q&A. Please remind to use this feature of the forum.

Former MAXON SDK Engineer