Datatype for AddUserData() [SOLVED]

  • On 11/06/2015 at 09:51, xxxxxxxx wrote:

    Hi! When creating descriptions in GetDDescription(), it is very important to set the parameter
    datatype in DescLevel::dtype, otherwise it might not work properly. How are we supposed to
    specify the datatype when using BaseList2D.AddUserData() in Python? Afaik, the datatype is
    not saved in the description container.


  • On 11/06/2015 at 10:01, xxxxxxxx wrote:

    I guess its deduced from the container ID or DESC_CUSTOMGUI parameter which both seem
    to be set to the datatype ID passed to c4d.GetCustomDatatypeDefault(). :)

Log in to reply