Hi list,
Does anybody have some experience with the FBX SDK? I'm writing an external Python application to analyze FBX files.
Everything has worked well so far, but here's where I'm stuck: I need to read shader information, such as diffuse color or specular color.
The core code inside my loop looks like this:
prop_new = node.GetNextProperty(prop)
if prop_new.GetName() == "DiffuseColor":
castProperty = fbx.FbxPropertyDouble3(prop_new)
But now I can't figure out how to extract the three float values from castProperty.
print castProperty.Get() tells me "<fbx.FbxDouble3 object at 0x000....>"
print castProperty.Get().mData[0] tells me "FbxDouble3 object has no attribute mdata"
Maybe I'm unable to read the documentation correctly.