Directory Structure
 
 
 

Installation Directory

MotionBuilder is available for both 32 and 64-bit architectures. By default, the 32-bit version of MotionBuilder is installed under the following directory:

C:\Program Files (x86)\Autodesk\MotionBuilder 2012 (32-bit)\

Similarly, the 64-bit version of MotionBuilder is installed under the following directory:

C:\Program Files\Autodesk\MotionBuilder 2012 (64-bit)\

These two installation paths will be referred to as [MotionBuilder] in the remainder of this topic, to represent the path of your MotionBuilder installation directory.

C++ Directories

Path Description
[MotionBuilder]\OpenRealitySDK\include Header files.
[MotionBuilder]\OpenRealitySDK\lib\win32 or x64 Library files.
[MotionBuilder]\OpenRealitySDK\samples C++ samples, including Visual Studio solution files.
[MotionBuilder]\OpenRealitySDK\scenes Sample scene data.

C++ Libraries

Library Name Description
cg.lib, cgGL.lib Cg header files and libraries provided by the Cg Toolkit 1.1.
fbsdk.lib MotionBuilder SDK.

Python Subdirectories

Path Description
[MotionBuilder]\bin\config\Python Contains Python modules used in MotionBuilder. Also contains keyboard configuration file. For more information on customizing keyboard shortcuts, see Managing Python Tools.
[MotionBuilder]\bin\config\Scripts Sample Python scripts. These are described in the Sample Programs topic.
[MotionBuilder]\bin\[win32|x64]\python\lib\plat-win\pyfbsdk.pyd The pyfbsdk Python module, which encapsulates the majority of the MotionBuilder SDK Python functionality.
[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

In the latest versions of Windows, only administrative users have the permission to write to the Program Files directory. To enable non-administrative users to customize MotionBuilder's configuration files, MotionBuilder creates the following directory for each user that opens MotionBuilder:

C:\Users\[user]\Documents\MB\2012\config\

This user configuration directory, which we will refer to as [config], allows each user to specify his or her 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.

NoteMotionBuilder will run the scripts in both the user's [config] directory, as well as the [MotionBuilder]\bin\config\ directory.