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.
The Manager ID is explained here.
https://developers.maxon.net/docs/py/2023_2/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