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

    Cleaning and populating cycle control in runtime

    SDK Help
    0
    3
    363
    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
      Helper
      last edited by

      On 04/09/2017 at 05:07, xxxxxxxx wrote:

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

      ---------
      I've been reading examples etc but I'm wondering how I can clean and populate Cycle controls (I'm using CUSTOMGUI_CYCLEBUTTON) on runtime.

      I have follow this article without problem https://c4dprogramming.wordpress.com/2013/05/10/the-cyclebutton-customgui/

      But it is called on GetDDescription and I need to  modify it from time to time.

      Any tip on this?

      Regards.

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

        On 05/09/2017 at 07:29, xxxxxxxx wrote:

        Hi,

        actually GetDDescription() is the correct place to do this. GetDDescription() is not called only once, but all the time C4D needs to rebuild/update the Attribute Manager, for example in reaction to parameter changes.

        Please also note the manual on NodeData::GetDDescription().

        Maybe also take a look at this thread, where this topic got discussed recently.

        The article linked in the previous post is also available on developers.maxon.net[URL-REMOVED], probably the more persistent link. We transferred all content from c4dprogramming to the developer blog.

        Edit: Added link to other thread.


        [URL-REMOVED] @maxon: This section contained a non-resolving link which has been removed.

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

          On 15/09/2017 at 03:04, xxxxxxxx wrote:

          Thank you!

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