#include <maya/MIOStream.h>
#include <maya/MPxCommand.h>
#include <maya/MFnPlugin.h>
#include <maya/MString.h>
#include <maya/MArgList.h>
#include <maya/MGlobal.h>
{
public:
                    Pick() {};
    virtual         ~Pick(); 
    static void*    creator();
};
Pick::~Pick() {}
void* Pick::creator()
{
    return new Pick();
}
    
{
    if ( len > 0 ) {
            cerr << 
"Object " << object_name.
asChar() << 
" not found\n";
    } else {
        cerr << "No Object name specified\n";
    }
    return res;
}
{
    MFnPlugin plugin( obj, PLUGIN_COMPANY, 
"3.0", 
"Any");
 
    status = plugin.registerCommand( "pick", Pick::creator );
    if (!status) {
        status.
perror(
"registerCommand");
        return status;
    }
    return status;
}
{
    status = plugin.deregisterCommand( "pick" );
    if (!status) {
        status.
perror(
"deregisterCommand");
        return status;
    }
    return status;
}