Maya API plugin utilities
A quick example:
from pymel.api.plugins import Command
class testCmd(Command):
def doIt(self, args):
print "doIt..."
testCmd.register()
cmds.testCmd()
testCmd.deregister()
Functions
allMPx | Returns a list of all MPx classes |
createDummyNodePlugins | Registers with the dummy pymel plugin a dummy node type for each MPxNode |
enumToStr | Returns a dictionary mapping from an MPxNode node type enum to it’s |
getPluginHierarchy | Dynamically query the mel node hierarchy for all plugin node types |
initializePlugin | do not call directly |
loadAllMayaPlugins | will load all maya-installed plugins |
mayaPlugins | all maya plugins in the maya install directory |
pluginCommands | Returns the list of all commands that the plugin provides, to the best of our knowledge. |
uninitializePlugin | do not call directly |
unloadAllPlugins |
Classes
BasePluginMixin | |
CameraSet | |
Command | create a subclass of this with a doIt method |
ComponentShape | |
Constraint | |
DeformerNode | |
DependNode | |
EmitterNode | |
FieldNode | |
FluidEmitterNode | |
HardwareShader | |
HwShaderNode | |
IkSolverNode | |
ImagePlane | |
LocatorNode | |
ManipContainer | |
ManipulatorNode | |
ObjectSet | |
ParticleAttributeMapperNode | |
PolyTrg | |
PyNodeMethod | Used as a decorator, placed on methods on a plugin node class, to signal |
SpringNode | |
SurfaceShape | |
Transform | |
TransformationMatrix | |
defaultdict | defaultdict(default_factory) –> dict with default factory |
node |