On 25/02/2014 at 11:34, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 13,14,15
Platform: Windows ;
Language(s) : C++ ;
---------
Hi, I am now giving up on the CustomGui for the moment, I am totally stuck.
I ask for advice!
Most important, are my questions difficult because you do not know the answers, or is my wording poor, my English bad, so that you just do not understand what I mean?
Here is the very short version:
I need a CustomGui, because none of the C4D built in controls will do the job for me.
I have written a test version, and it works in a simple way, I can send a Real or a LONG to the control, make changes, and send the altered Real back, t hen read it, using the familiar SetParameter() and GetParameter().
But I need to pass much more data back and forth. Normally, in my daily work as a programmer, I would just create a class / structure, and pass this class / structure back and forth, and the class would keep, maintain and even process some of the data.
I have no idea how this can be done in C4D. I have studied the CustomGuiData, CustomDataType and the CustomDataTypeClass, but it gets so complicated and overwhelming for such a simple task, as passing data between my CustomGui control and the plugin, that I believe I am on the wrong path.
Summing it up:
Question 1: How can my CustomGui class read values from a data structure, residing in my tag plugin, and how can my tag plugin read values from a data structure, residing in the CustomGui class.
Question 2: Where can I possibly turn to get assistance on this? Who can help me?