14 #ifndef MAYASAVEPVIEW_H
15 #define MAYASAVEPVIEW_H
30 #include <maya/MTypes.h>
31 #if MAYA_API_VERSION < 201600
32 #include <maya/OpenMayaMac.h>
39 #include "dtool_config.h"
44 #define REQUIRE_IOSTREAM
47 #include <maya/MArgList.h>
48 #include <maya/MPxCommand.h>
49 #include <maya/MObject.h>
66 virtual MStatus
doIt(
const MArgList &args);
75 #define EXPCL_MISC __declspec(dllexport)
This class serves as a plug-in to Maya to save the scene and view it using the external pview program...
virtual MStatus doIt(const MArgList &args)
Called when the plugin command is invoked.
static void * creator()
This is used to create a new instance of the plugin.
MStatus initializePlugin(MObject obj)
Called by Maya when the plugin is loaded.
MStatus uninitializePlugin(MObject obj)
Called by Maya when the plugin is unloaded.