Base class for all proxy shape commands. Sets up some common command syntax, along with a few handy utility methods.
More...
#include <ProxyShapeCommands.h>
|
static MSyntax | setUpCommonSyntax () |
| sets up some core/common command params - enables specification of selectin list as a command argument More...
|
|
Base class for all proxy shape commands. Sets up some common command syntax, along with a few handy utility methods.
nodes::ProxyShape* AL::usdmaya::cmds::ProxyShapeCommandBase::getShapeNode |
( |
const MArgDatabase & |
args | ) |
|
find the proxy shape nodeata base
- Parameters
-
args | the valid argument data base |
- Returns
- the proxy shape specified in the selected command arguments
UsdStageRefPtr AL::usdmaya::cmds::ProxyShapeCommandBase::getShapeNodeStage |
( |
const MArgDatabase & |
args | ) |
|
get the USD stage
- Parameters
-
args | the valid argument data base |
- Returns
- the stage from the proxy shape specified in the selected command arguments
MDagPath AL::usdmaya::cmds::ProxyShapeCommandBase::getShapePath |
( |
const MArgDatabase & |
args | ) |
|
find the proxy shape node
- Parameters
-
args | the valid argument data base |
- Returns
- the dag path to the proxy shape (extracted from the selected nodes used as the command args)
MArgDatabase AL::usdmaya::cmds::ProxyShapeCommandBase::makeDatabase |
( |
const MArgList & |
args | ) |
|
construct the arg data base from the arguments maya passed to the MPxCommands doIt method.
- Parameters
-
args | the raw argument list |
- Returns
- the database of parsed arguments
static MSyntax AL::usdmaya::cmds::ProxyShapeCommandBase::setUpCommonSyntax |
( |
| ) |
|
|
static |
sets up some core/common command params - enables specification of selectin list as a command argument
- Returns
- the syntax object that contains the common command arguments
The documentation for this class was generated from the following file: