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

    Grouping Plugins

    Scheduled Pinned Locked Moved PYTHON Development
    6 Posts 0 Posters 626 Views
    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.
    • H Offline
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 02/08/2012 at 05:32, xxxxxxxx wrote:

      Guys i'm new to python scripts..please help me out my problem. I have made a plugins which i wanted to group them under one category. can anyone please help me writing this code.

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 02/08/2012 at 07:04, xxxxxxxx wrote:

        When multiple plugins are registered from one source file or one directory, they are automatically grouped under a Sub-Menu that is named like the folder.

        My-Plugins\
          my-plugins.pyp
              # Registers 2 Plugins

        Then you will find a "My-Plugins" SubMenu in the plugins-menu that contains both plugins.

        -Nik

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 02/08/2012 at 14:16, xxxxxxxx wrote:

          hi

          i understand how to group my python plugins.

          but is there a way to have a sepperate icon for the group, like i have for my plugins ?

          thanks

          1 Reply Last reply Reply Quote 0
          • H Offline
            Helper
            last edited by

            On 28/04/2015 at 02:33, xxxxxxxx wrote:

            Had to bump this, because I had basically the same question.
            Do we need to hook the plugins manually?

            1 Reply Last reply Reply Quote 0
            • H Offline
              Helper
              last edited by

              On 28/04/2015 at 04:18, xxxxxxxx wrote:

              Do you mean an icon for the submenu/folder itself, inside the plugins menu?  I don't think that's possible, just the name..

              It is possible to create your own menu though, ie outside the Plugins menu..

              Also, what you can do with a palette, similar to for example where you can click on the Array object icon on the main toolbar, if you click and hold it opens up a small palette with icons for other objects..

              1 Reply Last reply Reply Quote 0
              • H Offline
                Helper
                last edited by

                On 28/04/2015 at 06:29, xxxxxxxx wrote:

                Hello,

                in case you are talking about adding an icon to a submenu of the existing plugins menu: this is not possible as described in this thread: "add icon to programmatically created submenu".

                Cinema 4D is creating the subfolders of the "Plugins" menu automatically. A subfolder is only created if it contains more than one plugin element. You can organize your plugins folders in subfolders by creating such folders in the actual "plugins" folder of your Cinema installation.

                Finally you could create complete new menus reacting to the C4DPL_BUILDMENU message as described in the documentation.

                Best wishes,
                Sebastian

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