Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware 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

    How to add command plugins' dropdown menu on to c4d main menu bar

    Cinema 4D SDK
    c++ windows 2025
    2
    3
    364
    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.
    • F
      freeze
      last edited by

      How to add command plugins' dropdown menu on to c4d main menu bar or viewport menu bar like redshift ,as the picture shows:
      111.png
      The examples in C++ SDK put them all into the Extensions as default.

      ferdinandF 1 Reply Last reply Reply Quote 0
      • ferdinandF
        ferdinand @freeze
        last edited by ferdinand

        Hey @freeze,

        Thank you for reaching out to us. You find your answer for how to hook into the main menu in C4DPL_BUILDMENU. A bit more illustrated Python case where I also talk about do's and dont's, can be found here.

        You cannot extend the menu of a viewport (technically you can but you mustn't). We also generally advise against plugins adding their own top-level menu entries. Render engines are somewhat an exception (which you seem to develop); but generally we want to reduce menu clutter.

        Cheers,
        Ferdinand

        MAXON SDK Specialist
        developers.maxon.net

        F 1 Reply Last reply Reply Quote 0
        • F
          freeze @ferdinand
          last edited by

          @ferdinand Thank you for replying!

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