Exporting user data added to a material



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 13/04/2010 at 08:16, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   11.5 
    Platform:   Windows  ;   
    Language(s) :     C++  ;

    ---------

    how can i access / export user data from a material ?

    i can export diffuse/specular/textures ... by using

    material->GetParameter( DescID( ... ), myparam, 0, );

    but i cannot figure out how access user added data that shows up in the custom channels of the material. i would need to export both the user given name and the value (float/string/texture).

    thanks for any suggestions

    martin



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 13/04/2010 at 08:25, xxxxxxxx wrote:

    Please check the GetDynamicDescription() method and DynamicDescription class. It allows you to access and browse user data.

    cheers,
    Matthias



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 14/04/2010 at 01:07, xxxxxxxx wrote:

    Matthias,

    that's exactly what I was missing. Works like a charm.

    Thanks for your help,

    Martin


Log in to reply