Share

Executing a script

MotionBuilder provides various methods for executing scripts. You can choose any of the following methods to execute a script:

  • Drag and drop a script from the Asset browser
  • Execute a script via the Python Editor
  • Place a Python tool in the PythonStartup folder
  • Run a script using a keyboard shortcut
  • Use the Function FBApplication::ExecuteScript
  • Launch a script from the Command Line startup

To launch a script from the Command Line startup, run

motionbuilder.exe [flag] <Python script or FBX file>

You can pass either a Python script or an FBX scene file to motionbuilder.exe but not both.

You can optionally call motionbuilder.exe with flags or command line options.

To see a full list of flags, command line options, and environment variables, run

motionbuilder.exe -help

Was this information helpful?