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

    Free Form GUI Design Layout?

    Cinema 4D SDK
    r21 python
    2
    5
    657
    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.
    • B
      bentraje
      last edited by

      Hi,

      Is it possible to have a free form GUI design layout in Cinema4D? Like perhaps the QT Designer.
      Currently, I have to do it with the grid/columnar layout, which is a bit tedious on what I am after.
      I want to include a picker in my character manager.

      You can check it here:
      https://www.dropbox.com/s/m4bh65ixkv8pzcm/c4d200_free_form_layout.jpg?dl=0

      Thank you for looking at my problem

      1 Reply Last reply Reply Quote 0
      • r_giganteR
        r_gigante
        last edited by

        Hi Bentraje, thanks for reaching out us.

        With regard to your question, given the fact that a "freeform-like" layouting is not available out-of-the-box, you should rather consider going for a grid based approach while having in the center, where the rigging mannequin is represented, a GeUserArea to host such representation.

        Best, Riccardo

        1 Reply Last reply Reply Quote 0
        • B
          bentraje
          last edited by

          @r_gigante

          Thanks for the confirmation.
          But I'm not sure I understand what you meant.

          RE: for a grid based approach. . . GeUserArea to host such representation.
          Isn't this the same with just the GeDialog?Is there some difference with using GeUserArea? Sorry I am just using GeDialog up until now.

          RE: where the rigging mannequin is represented
          Do you meant the rigging mannequin represented as buttons? Because I also need them to be clickable.

          1 Reply Last reply Reply Quote 0
          • r_giganteR
            r_gigante
            last edited by r_gigante

            Hi Bentraje,

            the GeUserArea is a customizable area, usually hosted by a GeDialog, that offers the chance to highly customize its content. In a GeUserArea, you can't create button widgets as you're used to create them in a GeDialog, but you can draw things inside it by using standard drawing functions. You can also intercept events occurring in the GeUserArea and react to them the way you want (like clicking in a button).

            Please have a look at the GeUserArea Manual for further topics.

            Best, Riccardo

            1 Reply Last reply Reply Quote 0
            • B
              bentraje
              last edited by

              @r_gigante

              Thanks for the response.
              Unfortunately, I still can't read C++ codes at the moment.
              Is there a python equivalent of that page? I can't seem to see one. There is a page for that but it's like a dictionary. It does not contain any sample codes like in C++

              If it does not exist, do you have any C++ with an equivalent Python page in the documentation? I'll just to interpolate them as much as possible.

              ##########################

              I also checked the Github sample and it does contain a GeUserArea sample

              But the button part is still in GeDialog. Is it possible to make the GeUserArea part to be clickable like a button?

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