Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hi. i want set String UserData interface to multi_line,but in DESC dont find parameter to set. this is my code:
bc = c4d.GetCustomDataTypeDefault(c4d.DTYPE_STRING) bc[c4d.DESC_NAME] = "test" did = obj.AddUserData(bc)
Thanks for any help!
Hi @chuanzhen, you should define the UI to use for the user data like so:
bc = c4d.GetCustomDataTypeDefault(c4d.DTYPE_STRING) bc[c4d.DESC_NAME] = "test" bc[c4d.DESC_CUSTOMGUI] = c4d.CUSTOMGUI_STRINGMULTI did = obj.AddUserData(bc)
Cheers, Maxime.
@m_adam Thanks for help!