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:
- Create a directory for your module
- Create subdirectories for your C++ plug-ins and your Python scripts. By default, MotionBuilder expects two directories:
plugins
for C++ plug-inspython
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.
- 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.