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

    Renderqueue Layout/Dialog Questions

    Cinema 4D SDK
    2
    5
    781
    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.
    • lasselauchL
      lasselauch
      last edited by lasselauch

      Hey everyone!

      While @mikeudin recently asked about the group weighting I've noticed that I'm currently working on a Plugin that looks more or less like the Renderqueue.

      I've stumbled across some interesting UI choices and would love to know how they can be achieved, please have a look at the attached image.

      – How can I add a undockable Palette with different Buttons to my Layout/Dialog?
      – IconId of Icon in the top right corner?
      – Are these Quicktab Buttons showing/hiding the groups below?
      – Two Groups, with same rows in conjunction with StaticText?

      renderqueue-layout-questions.png

      Hope this isn't an unusual request.... 😇

      Thanks & Cheers,
      Lasse

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

        Hi @lasselauch sorry for the delay

        1. I asked development team about it.
        2. 465001796 and 465001732 I, know is not easy to search in all the icons, but just in case you have the whole list of icon available in Icon List.
        3. Correct you have an example in customgui_quicktab_r19.py.
        4. This is 1 Group defined like so
        self.GroupBegin(0, c4d.BFH_SCALEFIT | c4d.BFV_TOP, cols=2)
        self.AddStaticText(10000, c4d.BFH_LEFT | c4d.BFH_FIT | c4d.BFV_CENTER, 0, 0, "Left title")
        self.AddStaticText(10001, c4d.BFH_SCALEFIT | c4d.BFV_CENTER, 0, 0, "Right text")
        self.GroupEnd()
        

        Cheers,
        Maxime

        MAXON SDK Specialist

        Development Blog, MAXON Registered Developer

        1 Reply Last reply Reply Quote 1
        • lasselauchL
          lasselauch
          last edited by

          Hi @m_adam any news/feedback on undocking groups/palettes from a dialog..?

          Thaaaanks,
          Lasse

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

            I didn't forget you don't worry I will update this post when I receive information from the development team.

            Cheers,
            Maxime.

            MAXON SDK Specialist

            Development Blog, MAXON Registered Developer

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

              I'm sorry for the huge delay asked for this question, but it appears, that this dialog layout is hardcoded in the default Cinema 4D layout, so when you open it this dialog, it loads this layout by default since it's saved in the default Cinema 4D layout.

              Unfortunately, there is no way to do the same thing with code but you can split your GUI in 2 parts and let the user build its own layout with all the Command and your Dialog bellow.

              Cheers,
              Maxime.

              MAXON SDK Specialist

              Development Blog, MAXON Registered Developer

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