THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 23/07/2012 at 00:13, xxxxxxxx wrote:
Hi everybody,
I'm getting stuck on my task to change the DESC_MAX value of a field in my tag-plugin. The value is initialized via the description-file.
I've tried the same way as for userdata and many other possibilities but I can't solve this problem.
I even can't read the information for DESC_MAX out of the field because of getting only an 'int object is subscriptable' error.
Here the read part of my code:
data = tag.GetDataInstance()
for descId, container in data:
#if descId[1].id == 1003: doesn't work with description properties...???
if descId == 1003:
print container[c4d.DESC_MAX]
Isn't it possible to read or change the description properties?
Cheers,
Sven