Any Maya plugin requires two functions to be exported. initializePlugin
is called when the dll is loaded, uninitializePlugin is called
when the plugin is un-loaded from Maya.
Within these functions you need to make use of the MFnPlugin
function set to register any file translators, nodes, contexts,
mel commands, etc, that your plugin will be adding into Maya.
When we register a file translator with Maya, we can also specify
a script to run for the export options GUI. We can also specify
a default set of export options.
In this case we just inform Maya about the MayaFileExportScript
UI script, and provide default values for our "-option1"
and "-option2" export options.