EDGE
EDGE copied to clipboard
A problem where a function is not defined
I encountered a problem during the final generation of the fbx file called 'NameError: name' FbxAnimCurve 'is not defined'. May I know how to resolve this issue? Thank you for your answer
1.install pyfbx
2.add from pyfbx import *
in FbxReadWriter.py
1.install
pyfbx
2.addfrom pyfbx import *
in FbxReadWriter.py
Has anyone solved this problem? I tried the one above but it still did not work
1.install
pyfbx
2.addfrom pyfbx import *
in FbxReadWriter.pyHas anyone solved this problem? I tried the one above but it still did not work
@vtan05
I solve this problem by the following steps:
- Install fbx sdk via [https://www.autodesk.com/developer-network/platform-technologies/fbx-sdk-2020-3]
- Copy all the items in (install_dir)/FBX202032_FBXFILESDK_LINUX/lib/Python37_x64 to your anaconda env (anaconda_dir)/anaconda3/envs/XXX/lib/python3.7
In this way, there is no need to add from pyfbx import *
in FbxReadWriter.py