Skip to content

nils-soderman/pyfbsdk-stub-generator

Repository files navigation

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:

  1. Install the module through pip:
python -m pip install pyfbsdk-stub-generator
  1. From within MotionBuilder, run:
import pyfbsdk_stub_generator

pyfbsdk_stub_generator.Generate(Directory = "C:/MyDirectory/")