Python API 2.0 Reference: OpenMaya.MAttributePattern Class Reference

OpenMaya.MAttributePattern Class Reference
+ Inheritance diagram for OpenMaya.MAttributePattern:

Public Member Functions

__init__ ()
 
__str__ ()
 
addRootAttr ()
 
name ()
 
removeRootAttr ()
 
rootAttr ()
 
rootAttrCount ()
 

Static Public Member Functions

__new__ ()
 
attrPattern ()
 
attrPatternCount ()
 
findPattern ()
 

Detailed Description

Manipulate attribute structure patterns.

Constructor & Destructor Documentation

OpenMaya.MAttributePattern.__init__ ( )
Initialize self.  See help(type(self)) for accurate signature.

Member Function Documentation

OpenMaya.MAttributePattern.__new__ ( )
static
Create and return a new object.  See help(type) for accurate signature.
OpenMaya.MAttributePattern.__str__ ( )
Return str(self).
OpenMaya.MAttributePattern.addRootAttr ( )
Add the given root attribute to this pattern.
OpenMaya.MAttributePattern.attrPattern ( )
static
Return the specified pattern indexed from the global list.
OpenMaya.MAttributePattern.attrPatternCount ( )
static
Return the global number of patterns created.
OpenMaya.MAttributePattern.findPattern ( )
static
Return a pattern with the given name, None if not found.
OpenMaya.MAttributePattern.name ( )
Return the name of the attribute pattern.
OpenMaya.MAttributePattern.removeRootAttr ( )
Return the nth or passed-in root attribute from this pattern.
OpenMaya.MAttributePattern.rootAttr ( )
Return the nth root attribute in this pattern.
OpenMaya.MAttributePattern.rootAttrCount ( )
Return the number of root attributes in this pattern.