Using Python with MotionBuilder
 
 
 

Python and MotionBuilder

The Python programming language can be used to customize the behavior of MotionBuilder. MotionBuilder contains its own Python Editor, and Python interpreter, which allows the user to write and run Python scripts from within MotionBuilder.

To use the Python MotionBuilder API in your scripts, include the following lines:

from pyfbsdk import *
from pyfbsdk_additions import *
Python scripts can be invoked when MotionBuilder starts up, or while MotionBuilder is running. For a full list of ways to run Python scripts in MotionBuilder, see Running Python Scripts.