Script for generating python stub files for Autodesk MotionBuilder's pyfbsdk module.
These stub files include all classes & functions that can be accessed through the pyfbsdk module. They also include type hints and docstrings for most entities.
The GitHub repository already contains some pre-generated stub files that are ready to be used, simply get them from the generated-stub-files folder:
If you want to generate your own stub files for your MotionBuilder version:
- Install this package using pip:
pip install git+https://github.com/nils-soderman/pyfbsdk-stub-generator
- From within MotionBuilder, run:
import pyfbsdk_stub_generator
pyfbsdk_stub_generator.Generate(Directory = "C:/MyDirectory/")