Share

Creating a module package

To distribute plug-ins and Python scripts, a zipped directory containing these files is packaged in a module along with a module description file that describes how the files are to be used on different platforms.

To create a module:

  1. Create a directory for your module
  2. Create subdirectories for your C++ plug-ins and your Python scripts. By default, MotionBuilder expects two directories:
    • plugins for C++ plug-ins
    • python for Python scripts You can choose to have different directories, and multiple directories, for these files, but you will need to specify these in the module description file.
  3. Create a module description file file with the .mod extension that describes how to load your module

Once your module directory is complete, compress it and distribute it.

Was this information helpful?