THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 25/06/2008 at 12:47, xxxxxxxx wrote:
User Information:
Cinema 4D Version:
Platform: Windows ;
Language(s) : C++ ; XPRESSO ;
---------
Hi,
I need to set the priority combobox of my XPresso tag to "Animation". I have this:
> \> XPressoTag\* xpt = static_cast<XPressoTag\*>(bo->GetTag(Texpresso)); \> if (xpt) \> { \> GeData d; \> if (xpt->GetParameter(DescLevel(EXPRESSION_PRIORITY),d,0)) \> { \> PriorityData \*pd = (PriorityData\* )d.GetCustomDataType(CUSTOMGUI_PRIORITY_DATA); \> \> if (pd) \> { \> pd->SetPriorityValue(CYCLE_ANIMATION,GeData(TRUE)); \> pt->SetParameter(DescLevel(EXPRESSION_PRIORITY),d,0); \> EventAdd(); \> } \> \>
etc, etc.
This does not work. How to do it right ??
Jan