AL_USDMaya  0.29.4
USD to Maya Bridge
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
AL::usdmaya::cmds::ProxyShapeCommandBase Class Reference

Base class for all proxy shape commands. Sets up some common command syntax, along with a few handy utility methods. More...

#include <ProxyShapeCommands.h>

Inheritance diagram for AL::usdmaya::cmds::ProxyShapeCommandBase:
AL::usdmaya::cmds::ActivatePrim AL::usdmaya::cmds::ChangeVariant AL::usdmaya::cmds::InternalProxyShapeSelect AL::usdmaya::cmds::ProxyShapeFindLoadable AL::usdmaya::cmds::ProxyShapeImportAllTransforms AL::usdmaya::cmds::ProxyShapeImportPrimPathAsMaya AL::usdmaya::cmds::ProxyShapePostSelect AL::usdmaya::cmds::ProxyShapePrintRefCountState AL::usdmaya::cmds::ProxyShapeRemoveAllTransforms AL::usdmaya::cmds::ProxyShapeResync AL::usdmaya::cmds::ProxyShapeSelect AL::usdmaya::cmds::TranslatePrim

Public Member Functions

MDagPath getShapePath (const MArgDatabase &args)
 find the proxy shape node More...
 
nodes::ProxyShapegetShapeNode (const MArgDatabase &args)
 find the proxy shape nodeata base More...
 
UsdStageRefPtr getShapeNodeStage (const MArgDatabase &args)
 get the USD stage More...
 
MArgDatabase makeDatabase (const MArgList &args)
 construct the arg data base from the arguments maya passed to the MPxCommands doIt method. More...
 

Static Public Member Functions

static MSyntax setUpCommonSyntax ()
 sets up some core/common command params - enables specification of selectin list as a command argument More...
 

Detailed Description

Base class for all proxy shape commands. Sets up some common command syntax, along with a few handy utility methods.

Member Function Documentation

nodes::ProxyShape* AL::usdmaya::cmds::ProxyShapeCommandBase::getShapeNode ( const MArgDatabase &  args)

find the proxy shape nodeata base

Parameters
argsthe 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
argsthe 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
argsthe 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
argsthe 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: