Helper class.
More...
#include <LayerCommands.h>
|
static MSyntax | setUpCommonSyntax () |
| sets up some core/common command params for all the layer commands. Just specifies that selection can be used as an argument. More...
|
|
nodes::ProxyShape* AL::usdmaya::cmds::LayerCommandBase::getShapeNode |
( |
const MArgDatabase & |
args | ) |
|
find the proxy shape node from a valid pre-parsed arg database
- Parameters
-
args | the argument database to get the proxy shape from |
- Returns
- the proxy shape node (if found in the args)
UsdStageRefPtr AL::usdmaya::cmds::LayerCommandBase::getShapeNodeStage |
( |
const MArgDatabase & |
args | ) |
|
get the USD stage
- Parameters
-
args | the argument database to get the stage from |
- Returns
- the stage from a proxy shape node (if found in the args)
MArgDatabase AL::usdmaya::cmds::LayerCommandBase::makeDatabase |
( |
const MArgList & |
args | ) |
|
construct the arg data base from an args list. If any errors are found during parsing, an error will be thrown
- Parameters
-
args | the args list passed to the MPxCommand from Maya |
- Returns
- the new data base
static MSyntax AL::usdmaya::cmds::LayerCommandBase::setUpCommonSyntax |
( |
| ) |
|
|
static |
sets up some core/common command params for all the layer commands. Just specifies that selection can be used as an argument.
- Returns
- the syntax object with the command command flags specified
The documentation for this class was generated from the following file: