desc -> userdata
On 27/06/2015 at 03:21, xxxxxxxx wrote:
is there a way to transform a Desc to user data?
I have a bool in Desc and like to save this in user data for later usage
On 30/06/2015 at 02:35, xxxxxxxx wrote:
You can first retrieve the description of an object with C4DAtom.GetDescription() and then iterate through its parameters to get one of these description container. Then add a user data with BaseList2D.AddUserData() passing the parameter description container and setting the actual user data value.
On 01/07/2015 at 15:59, xxxxxxxx wrote:
thanks - working
On 01/07/2015 at 23:32, xxxxxxxx wrote:
Note that GetDescription() is not available in R15 and older versions.