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
    • Recent
    • Tags
    • Users
    • Login

    Create dynamic list in description

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 345 Views
    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.
    • H Offline
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 17/12/2009 at 07:01, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   11.5 
      Platform:   Windows  ; Mac  ;  
      Language(s) :     C++  ;

      ---------
      In a Tag plugin I need to create a dynamic list, exactly the same that you can see in the C4D Character Tags -> Morph, with ADD and REMOVE buttons too and then possibility to change the items names!
      Every items of the list will correspond to a generic object instance!
      I know that I have to work in GetDDescription function, but isn't clear how to create the "LIST". The DESC_CUSTOMGUI don't include this kind of object and I don't know how to create it from a custom resource.
      I saw the customgui_inexclude.cpp and customgui_listview.cpp in resource api but I don't know if is it possible (in SDK there is an example but is for dialogs not for descriptions) and how put them in a description!?!

      Thank's
      Lorenzo

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 17/12/2009 at 07:21, xxxxxxxx wrote:

        A good starting point is to check the MorpMixer SDK example. It shows how to add sliders depending on the number of child objects. In your case react to button clicks and add a new entry to the tag's container or better to a sub-container of the tag's container. In GetDDescription() read out the sub-container and depending on the number of container entries create your dynamic descriptions.

        cheers,
        Matthias

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 17/12/2009 at 09:36, xxxxxxxx wrote:

          Thank's I saw the SDK example and other old posts on this forum, but probably there is something that take me in confusion!
          I'll try to make some test and then I'll post my results!

          Thanks
          Lorenzo

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