Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Is there a fixed Manager ID like c4d.CONSTANT?

    Cinema 4D SDK
    python
    2
    2
    290
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      LingZA
      last edited by

      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/py/2023_2/modules/c4d.gui/index.html#c4d.gui.AddShortcut.

      1 Reply Last reply Reply Quote 0
      • ManuelM
        Manuel
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • First post
          Last post