Search code examples
c++3dsmaxfbx

FBX SDK how to retrieve user defined object properties


3DS MAX offers user-defined field for a node where arbitrary text can be put.

enter image description here

How can I retrieve this text using FBX SDK? I couldn't find any answer in the documentaion.


Solution

  • FBX ASCII representation helped a lot. User Defined property is stored in "UDP3DSMAX" FBX property.

    Code:

    FbxProperty p = m_node->FindProperty("UDP3DSMAX");
    
    if (p.IsValid())
        FbxString str = p.Get<FbxString>();