On 03/11/2015 at 06:33, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 16
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;
---------
Hi,
I am trying to dynamically change the icon of an inexclude flag using inex->GetData(obj_index)->SetLong(IN_EXCLUDE_FLAG_IMAGE_01_ON, new_icon_id);
However, this doesn't seem to work.
inex->GetData(obj_index)->GetLong(IN_EXCLUDE_FLAG_IMAGE_01_ON)
furthermore always returns 0 (even though an icon id is assigned).
Is it possible? And if so what is the correct way of accessing this data?
Thanks!