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 Hide Generator Plugin from the menu?

    Cinema 4D SDK
    python
    2
    5
    715
    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.
    • orestiskonO
      orestiskon
      last edited by orestiskon

      Hi all,

      I have a generator object plugin and I'm trying to hide it from the Extensions menu.

      In the "Register" function of the plugin we can use "info" flags, to register it as a Generator OR to hide it from the menu with the PLUGINFLAG_HIDEPLUGINMENU flag.

      Isn't it possible to do both? Have it as generator and hide it from the menu?

      Thanks in advance.

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

        Hi @orestiskon you can combine flags like so c4d.PLUGINFLAG_HIDEPLUGINMENU | c4d.OBJECT_GENERATOR.

        Cheers,
        Maxime.

        MAXON SDK Specialist

        Development Blog, MAXON Registered Developer

        1 Reply Last reply Reply Quote 1
        • orestiskonO
          orestiskon
          last edited by

          Thanks Maxime!

          1 Reply Last reply Reply Quote 0
          • orestiskonO
            orestiskon
            last edited by orestiskon

            I'm reopening this to ask one additional question, I think they're closely related and best kept in the same thread.

            Is it possible to also hide the generator from being shown in the Commander? My guess is no, but I thought to verify it.

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

              Unfortually no you can't.

              MAXON SDK Specialist

              Development Blog, MAXON Registered Developer

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