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

    Dialog Layout to Resource Description

    Cinema 4D SDK
    2
    2
    474
    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.
    • O
      Ogers
      last edited by m_adam

      Hello.
      I was checking Arnold's Renderer and I saw that for the UI of the render settings they have used not only Description Resource but also Dialog Layout.

      I have a VideoPostData-derived plugin to add additional settings to the render settings. I am currently using Description Resource, but I need more flexibility to build a complex UI, like Arnold's for example. Dialog Layout would give me the required flexibility.
      How can I include a Dialog Layout inside a Description Resource? Or is there another way to build complex UIs for which simple Description Resource is not enough?

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

        Hi @Ogers, a Dialog Layout can't be included within a Description Resource.

        With that's said, the only way to use GeDialog, GeUserArea into a Description Resource, is to create a CustomGUI (like the Gradient) then in your Description, you can include this CustomGUI.

        But CustomGui should not be used for a whole Layout, only part of it. An example of a iCustomGui implementation can be found in customdata_customgui.cpp.

        If you have any question, please let me know.
        Cheers,
        Maxime.

        MAXON SDK Specialist

        Development Blog, MAXON Registered Developer

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