EDGE icon indicating copy to clipboard operation
EDGE copied to clipboard

A problem where a function is not defined

Open lindongs opened this issue 1 year ago • 3 comments

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

lindongs avatar Jun 24 '23 13:06 lindongs

1.install pyfbx 2.add from pyfbx import * in FbxReadWriter.py

lzyplayer avatar Jul 20 '23 06:07 lzyplayer

1.install pyfbx 2.add from pyfbx import * in FbxReadWriter.py

Has anyone solved this problem? I tried the one above but it still did not work

vtan05 avatar Aug 28 '23 07:08 vtan05

1.install pyfbx 2.add from pyfbx import * in FbxReadWriter.py

Has anyone solved this problem? I tried the one above but it still did not work

@vtan05

I solve this problem by the following steps:

  1. Install fbx sdk via [https://www.autodesk.com/developer-network/platform-technologies/fbx-sdk-2020-3]
  2. 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 image

In this way, there is no need to add from pyfbx import * in FbxReadWriter.py

CocoYi-Claire avatar May 31 '24 08:05 CocoYi-Claire