获取“全局名称'FbxManager'未定义”

时间:2014-12-19 11:56:57

标签: python webgl global batch-processing fbx

我正在创建一个WebGL接口,我试图在自动化过程中使用python文件convert_fbx_three.py(来自Mr. Doob's GitHub project)从命令行将FBX模型转换为JSON文件格式。 / p>

当我尝试以下命令转换FBX时:

python convert_fbx_three.py Dolpine.fbx Dolpine

我收到以下错误:

cmd中的错误:

 Traceback (most recent call last):
 File "convert_fbx_three.py", line 1625, in <module>
 sdkManager, scene = InitializeSdkObjects()
 File "D:\xampp\htdocs\upload\user\fbx\FbxCommon.py", line 7, in InitializeSdkObjects
 lSdkManager = KFbxSdkManager.Create()
 NameError: global name 'FbxManager' is not defined

我在Windows 7上使用的是Autodesk FBX SDK 2012.2 here

1 个答案:

答案 0 :(得分:0)

请你试试以下内容:

right