pyfbsdk-stub-generator
pyfbsdk-stub-generator copied to clipboard
Script to generate stub files for Autodesk MotionBuilder's python pyfbsdk module
MotionBuilder pyfbsdk stub-file generator
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.
Pre-generated files
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:
Usage
Generate stub files
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/")