On 18/04/2015 at 00:14, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R16
Platform: Windows ; Mac OSX ;
Language(s) : C++ ;
---------
In converting a plugin to C++ I'm looking to set data. I found that I could use SetParameter to do so in C++, but one type of data doesn't seem to work like this, when I do this code:
AutoAlloc<PriorityData> priority;
priority->SetPriorityValue(PRIORITYVALUE_MODE, CYCLE_EXPRESSION);
priority->SetPriorityValue(PRIORITYVALUE_PRIORITY, 1);
conCnstTag->SetParameter(DescID(EXPRESSION_PRIORITY), GeData(priority), DESCFLAGS_SET_0);
it fails to compile. Apparently GeData can't handle setting ProrityData?