Directory Structure
Installation Directory
MotionBuilder is available for 64-bit architectures. By default, MotionBuilder is installed in the following directory:
Platform | Default Directory |
---|---|
Linux | /usr/autodesk/MotionBuilder<version> |
Windows | C:\Program Files\Autodesk\MotionBuilder <version> |
This installation path will be referred to as [MotionBuilder] in the remainder of this topic to represent the path of your MotionBuilder installation directory.
C++ Directories
Linux Path | Windows Path | Description |
---|---|---|
[MotionBuilder]/OpenRealitySDK/cmake | [MotionBuilder]\OpenRealitySDK\cmake | CMake source files. |
[MotionBuilder]/OpenRealitySDK/include | [MotionBuilder]\OpenRealitySDK\include | Header files. |
[MotionBuilder]/OpenRealitySDK/lib/linux_64 | [MotionBuilder]\OpenRealitySDK\lib\x64 | Library files. |
[MotionBuilder]/OpenRealitySDK/Samples | [MotionBuilder]\OpenRealitySDK\Samples | C++ samples. |
[MotionBuilder]/OpenRealitySDK/Scenes | [MotionBuilder]\OpenRealitySDK\Scenes | Sample scene data. |
[MotionBuilder]/OpenRealitySDK/Scripts | [MotionBuilder]\OpenRealitySDK\Scripts | Python source files. |
[MotionBuilder]/OpenRealitySDK/USD | [MotionBuilder]\OpenRealitySDK\USD | USD headers and libraries. |
C++ Libraries
Linux Library Name | Windows Library Name | Description |
---|---|---|
libboost_python.so | boost_python.lib | Enables interoperability between C++ and Python. |
libfbsdk.so | fbsdk.lib | MotionBuilder SDK. |
libfbxsdk-adsk.so | libfbxsdk-adsk.lib | FBX SDK. |
pyfbsdk.so | pyfbsdk.lib | MotionBuilder Python SDK. |
libpython3.11.so | python311.lib | Python library. |
Python Subdirectories
Linux Path | Windows Path | Description |
---|---|---|
[MotionBuilder]/bin/config/Python | [MotionBuilder]\bin\config\Python | Contains Python modules used in MotionBuilder as well as keyboard configuration files. For more information on customizing keyboard shortcuts, see Managing Python Tools. |
[MotionBuilder]/bin/config/Scripts | [MotionBuilder]\bin\config\Scripts | Sample Python scripts. |
[MotionBuilder]/bin/linux_64/python/pyfbsdk.so | [MotionBuilder]\bin\x64\python\pyfbsdk.pyd | The pyfbsdk Python module, which encapsulates the majority of the MotionBuilder SDK Python functionality. |
[MotionBuilder]/bin/config/Python/pyfbsdk_additions.py | [MotionBuilder]\bin\config\Python\pyfbsdk_additions.py | Contains Python code used to bridge functionality between the OpenReality C++ SDK and Python. It contains tool management functions and some UI creation helper classes. |
User Configuration Directory
Any user, regardless of whether or not they have administrative privileges, can customize MotionBuilder by editing the files in their own configuration directory. A user's configuration directory is created the first time the user launches MotionBuilder at the following location:
Platform | Default Config Directory |
---|---|
Linux | /home/<username>/MB/<version>/config |
Windows | C:\Users\<username>\Documents\MB\<version>\config |
This user configuration directory, which we will refer to as [config], allows each user to specify their own keyboard shortcuts, Python startup programs and scripts, character templates, and layouts. The [config] directory is created using the [MotionBuilder]/bin/config directory as a template.
Users can place Python scripts in the [config]/PythonStartup directory to have their scripts run when MotionBuilder starts up. For more information, see Running Python Scripts and Command Line Options.