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 in submenu

    SDK Help
    0
    7
    622
    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
      Helper
      last edited by

      On 23/06/2014 at 10:11, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   R15 
      Platform:   Windows  ; Mac  ;  
      Language(s) :     C++  ;

      ---------
      Is there a way to group plugins from different libraries into one submenu under Plugins?

      Ama

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

        On 24/06/2014 at 00:56, xxxxxxxx wrote:

        Just put them all in a folder inside plugins i think should work..

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

          On 24/06/2014 at 15:43, xxxxxxxx wrote:

          The plugins will most likely be installed at different times.  So they will be in different folders.  I was hoping to programmatically add them to a folder in plugins ( no need to create a separate menu ).

          Ama

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

            On 24/06/2014 at 16:15, xxxxxxxx wrote:

            Ah well in that case..

            Override PluginMessage to listen for C4DPL_BUILDMENU and do some custom menu stuff.  You can use a single plugin to create a custom menu or even a submenu of an existing menu for as many plugins as you have the ID`s for..

            Look in the C++ help under c4d_plugin for info...

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

              On 06/07/2014 at 08:25, xxxxxxxx wrote:

              Thank you!

              I tested the basic EnhanceMenu() function.  It adds a menu to the top menu bar in the application.  I currently have a couple of plugins scattered throughout the plugins menu.  Two of them are grouped in a submenu I don't like the name of.  I would like to move all of these plugins to one folder with submenus.

              One other issue is that when I create the new menu the plugins remain in the plugins menu  I would like them to not be there.   Is that possible?

              Ama

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

                On 06/07/2014 at 14:28, xxxxxxxx wrote:

                Yeah - the way to do it is when you register the plugin use the PLUGINFLAG_HIDEPLUGINMENU flag.  And then simply add the plugin to your custom menu manually..

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

                  On 06/07/2014 at 15:22, xxxxxxxx wrote:

                  Thank you!

                  Ama

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