nils-soderman / pyfbsdk-stub-generator

Script to generate stub files for Autodesk MotionBuilder's python pyfbsdk module

Home Page:https://pypi.org/project/pyfbsdk-stub-generator/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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/")

Application Spesific Setup

Visual Studio Code

These stub files comes bundeled with the MotionBuilder Utils VSCode extention.

About

Script to generate stub files for Autodesk MotionBuilder's python pyfbsdk module

https://pypi.org/project/pyfbsdk-stub-generator/

License:MIT No Attribution


Languages

Language:Python 100.0%Language:Batchfile 0.0%