4

I am using Pycharm to code with Python FBX SDK, but I don't how to enable auto-complete. I have to look at the document for function members. It's very tedious. So, does anyone know how to enable auto-complete for Python FBX SDK in editor?

Thanks!

Brett Cannon
  • 14,438
  • 3
  • 45
  • 40
LOOK2001
  • 55
  • 4

1 Answers1

3
  • Copy these two files [PATH_TO_YOUR_MOBU]\bin\config\Python\pyfbsdk_gen_doc.py [PATH_TO_YOUR_MOBU]\bin\config\Python\pyfbsdk_additions.py to another folder like d:\pyfbsdk_autocomplete for instance.
  • rename the file pyfbsdk_gen_doc.py to pyfbsdk.py
  • add the folder to your interpreter paths in PyCharm. (Interpreter Settings, Show All, Show paths for interpreter)
spyralab
  • 161
  • 6
  • Thanks a lot! And I got stuck with FBX SDK. I am trying to rescale the whole scene of the fbx. I know there a method called "convertScene()" that will change scale factor and scale and translate value of each object. However, I only want to change scale and translate value without changing scale factor. Do you know there is method in FBX SDK can make it? Thanks!! – LOOK2001 Jul 15 '20 at 07:15
  • I don't have an example for scaling the whole scene, sorry. If the answer to your original question helped you, could you mark the answer as accepted answer? – spyralab Jul 16 '20 at 15:07
  • What is MOBU? I just don't get it. – Andrii Aug 21 '20 at 12:47
  • Mobu is short for motionbuilder. – spyralab Aug 22 '20 at 14:59