Registering commands
 
 
 

Before you can write more complex commands, you have to know how to properly register them with Maya. The MFnPlugin is a class used for registering the command with Maya.