Search code examples
pythonpycharmmayafbx

Python FBX SDK – How to enable auto-complete?


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!


Solution

    • 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)