THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 27/12/2008 at 08:58, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 11
Platform:
Language(s) : C++ ;
---------
Hi!
How do I receive the values of userdatas. I found some snippets here in the forum, but the most code snippets iterates through the user datas, but thats not what I want.
I know the exact id of the element and want to receive the value. Can anyone of you check my code?
> \> DynamicDescription\* dd = ot->GetDynamicDescription(); #ot is the BaseList2D object \> DescID id(DescLevel(first_id)), DescLevel(second_id)); \> const BaseContainer \*t = dd->Find(id); \> if(t) #is TRUE \> { \> if(!ot->GetParameter(id, data, 0)) #GetParameter returns False... Why? \> GePrint("failed"); \> } \>
Thank you very much
bye.