FBX Python SDK EvaluateValue equivalent

Anonymous

FBX Python SDK EvaluateValue equivalent

Anonymous
Not applicable
 

I am converting our old C++ project into a python script for easier portability but I can't seem to find a function equivalante to T EvaluateValue (Here in teh C++ documentation https://help.autodesk.com/cloudhelp/2018/ENU/FBX-Developer-Help/cpp_ref/class_fbx_property.html#a94f...).

Has anyone ever used this function in Python and if so how ?

Thanks.

0 Likes
Reply
424 Views
1 Reply
Reply (1)

regalir
Autodesk
Autodesk

Hi,

 

as stated in the documentation (https://help.autodesk.com/view/FBX/2020/ENU/?guid=FBX_Developer_Help_scripting_with_python_fbx_diffe...) templated functions  are not supported by Python.

 

You may be able to achieve the same result as property.EvaluateValue() by using the FbxAnimEvaluator object that you can obtain from the scene:

lScene.GetAnimationEvaluator()

 

from there, you are probably looking at the GetPropertyValue() function.

 

0 Likes