On 04/09/2017 at 05:07, xxxxxxxx wrote:
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?
On 05/09/2017 at 07:29, xxxxxxxx wrote:
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, probably the more persistent link. We transferred all content from c4dprogramming to the developer blog.
Edit: Added link to other thread.
On 15/09/2017 at 03:04, xxxxxxxx wrote: