AL_USDMaya  0.16.6
USD to Maya Bridge
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
UnloadPrim.h
1 #pragma once
2 #include "AL/usdmaya/fileio/ImportParams.h"
3 #include "AL/usdmaya/cmds/ProxyShapeCommands.h"
4 
5 #include "maya/MPxCommand.h"
6 #include "maya/MDagModifier.h"
7 #include "maya/MObject.h"
8 #include "maya/MObjectArray.h"
9 
10 #include "pxr/usd/usd/stage.h"
11 
12 #include <map>
13 
14 namespace AL {
15 namespace usdmaya {
16 namespace cmds {
17 
18 //----------------------------------------------------------------------------------------------------------------------
21 //----------------------------------------------------------------------------------------------------------------------
23  : public ProxyShapeCommandBase
24 {
25 public:
26  AL_MAYA_DECLARE_COMMAND();
27 private:
28  bool isUndoable() const override;
29  MStatus doIt(const MArgList& args) override;
30 };
31 
32 //----------------------------------------------------------------------------------------------------------------------
33 } // cmds
34 } // usdmaya
35 } // AL
36 //----------------------------------------------------------------------------------------------------------------------
Base class for all proxy shape commands. Sets up some common command syntax, along with a few handy u...
Definition: ProxyShapeCommands.h:22
A command to force a variant switch.
Definition: UnloadPrim.h:22