I'm trying to add user data with In/Exclusion List type.
But this type doesn't seem to be enumerated in the c4d.GetCustomDataTypeDefault(type) documentation.
I tried DTYPE_CHILDREN and DTYPE_MULTIPLEDATA but nothing seems to come out except a blank user data. Although I only use DESC_NAME for its settings.
Are there any special type not found in the usual documentation reference?
Hi @bentraje, thanks for reaching out us.
With regard to your request, note that the c4d.InExcludeData entry in the documentation reports the CUSTOMDATATYPE_INEXCLUDE_LIST which is the correct type to use.
if op is None:
bc = c4d.GetCustomDataTypeDefault(c4d.CUSTOMDATATYPE_INEXCLUDE_LIST)
bc[c4d.DESC_NAME] = 'InExclude'
Thanks for the response. Works as expected.