Solved Is there a fixed Manager ID like c4d.CONSTANT?

Does Manager ID change between different c4d versions such as R24, R25 and R26 If Manager ID is based on the options in "Restrict to" in Command Manager.

744d299e-a173-4c7f-ad8f-34439451cc3e-image.png
85956201-0980-4ff2-89d6-22ccac5c132b-image.png
The Manager ID is explained here.
https://developers.maxon.net/docs/Cinema4DPythonSDK/html/modules/c4d.gui/index.html#c4d.gui.AddShortcut.

Hi,

Those IDs should not change but there are not guaranties. There are no symbols to define those IDs.

You can use the following code to displays all the registered Managers.

import c4d
from c4d import gui



def main():
    pluginList = c4d.plugins.FilterPluginList(c4d.PLUGINTYPE_MANAGERINFORMATION, True)

    for plugin in pluginList:
        print (plugin, plugin.GetID())

# Execute main()
if __name__=='__main__':
    main()

Cheers,
Manuel

MAXON SDK Specialist

MAXON Registered Developer