On 16/11/2014 at 05:47, xxxxxxxx wrote:
Basecontainers do not seem to be able to store Value, other than the supported Set*Type* Value.
For instance trying to add a list:
bc = c4d.BaseContainer()
liste = []
bc.SetData(1000, liste)
results in: TypeError: could not convert 'list'
So how can this be done?
And if not, how do you store a list or dictonary within an object or document?
Sure, you could add all the list items one by one to a BaseContainer, but that does not seem like an appropriate way to do this?