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

    Alternative menu for plugins

    Cinema 4D SDK
    3
    6
    941
    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.
    • merkvilsonM
      merkvilson
      last edited by m_adam

      Hello PluginCafe 🙂

      Usually, when I'm creating plugins, it appears under C4D's plugins menu or under tags menu if it's a tag. Is it possible to manually define where it will be found? for example in viewport menu or in attribute manager.

      Merk

      1 Reply Last reply Reply Quote 0
      • C4DSC
        C4DS
        last edited by

        In some way you can, but it involves quite some coding.

        In the past I have added a checkbox option menu in the Object Manager.
        In my particular case I wanted that option to be right below the native "Scroll to first active" menu entry.
        For that I had to rebuild the whole "Show" submenu of the Object Manager's menu.

        It's been a while, so I have no idea what I did back then ... but here's the original discusssion from the legacy forum.

        Hope this helps

        1 Reply Last reply Reply Quote 1
        • M
          m_adam
          last edited by

          Hi, @merkvilson I think you can find the information you need in the link provided by @C4DS.
          Otherwise, I would like to point you to our code example in our documentation to Enhance the Main Menu.

          Of course, if you have any question, do not hesitate.
          Cheers,
          Maxime.

          MAXON SDK Specialist

          Development Blog, MAXON Registered Developer

          1 Reply Last reply Reply Quote 1
          • merkvilsonM
            merkvilson
            last edited by

            Thanks, guys. This worked 💙

            1 Reply Last reply Reply Quote 0
            • merkvilsonM
              merkvilson
              last edited by merkvilson

              btw, the problem is not solved yet. I need to place my script in Attribute Manager. As I know, the main menu is called M_EDITOR but what is the name of attribute manager?

              0_1549055692853_a35eff47-01a5-4985-a217-382ad25e1203-image.png

              1 Reply Last reply Reply Quote 0
              • M
                m_adam
                last edited by

                Hi @merkvilson, sadly this is not possible to add something to the attribute manager, since the attribute manager is a special window, and the menu is hardcoded.

                Sorry.
                Cheers,
                Maxime.

                MAXON SDK Specialist

                Development Blog, MAXON Registered Developer

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