Skip to content

nils-soderman/vscode-motionbuilder-utils

Repository files navigation

MotionBuilder Utils (Visual Studio Code)

Editor features to assist when writing Python code for Autodesk MotionBuilder.


Features

Execute Code

Run code in MotionBuilder directly from within the editor

execute code in MotionBuilder demo

Command: MotionBuilder: Execute
Keyboard Shortcut: Ctrl + Enter

The selected text will be executed, if nothing is selected the entire document will be executed.


Code Completion

This extention comes with improved stub files for the pyfbsdk module.

Better auto-completion demo

  • Feature complete (contains all of the functions & classes that can be accessed in the pyfbsdk module)
  • Variable type annotations
  • Readable descriptions

Command (to setup code completion): MotionBuilder: Setup Code Completion


Debugging

Attach VS Code to MotionBuilder to debug your scripts, set breakpoints & step through the code.

Debugging MotionBuilder Python demo

Command: MotionBuilder: Attach


Browse the Documentation

Quickly search through the official sdk documentation from within the editor, and open the page in a new web-browser tab.

Browse MotionBuilder sdk documentation demo

Commands:

  • MotionBuilder: Browse Documentation
  • MotionBuilder: Browse Examples

Keyboard Shortcut (to browse the Python docs): Ctrl + F1


Note:

Commands can be run from VS Code's command palette, Show All Commands (Default shortcut: Ctrl + Shift + P)



Contact

If you have any questions, feature requests or run into any bugs, don't hesitate to get in contact with me:

Personal Website
Report an issue


*This is a third-party extension and is not associated with Autodesk or MotionBuilder in any way.