Python API 2.0 Reference
OpenMayaAnim.MFnWeightGeometryFilter Class Reference
+ Inheritance diagram for OpenMayaAnim.MFnWeightGeometryFilter:

Public Member Functions

def __init__ ()
 
def getEnvelopeWeights ()
 
def getWeightPlugStrings ()
 
def getWeights ()
 
def setWeight ()
 
def weightPlugStrings ()
 
- Public Member Functions inherited from OpenMayaAnim.MFnGeometryFilter
def __init__ ()
 
def getComponentAtIndex ()
 
def getInputGeometry ()
 
def getOutputGeometry ()
 
def getPathAtIndex ()
 
def groupIdAtIndex ()
 
def indexForGroupId ()
 
def indexForOutputConnection ()
 
def indexForOutputShape ()
 
def inputShapeAtIndex ()
 
def numOutputConnections ()
 
def outputShapeAtIndex ()
 
- Public Member Functions inherited from OpenMaya.MFnDependencyNode
def __init__ ()
 
def absoluteName ()
 
def addAttribute ()
 
def addExternalContentForFileAttr ()
 
def affectsAnimation ()
 
def attribute ()
 
def attributeClass ()
 
def attributeCount ()
 
def canBeWritten ()
 
def create ()
 
def dgCallbackIds ()
 
def dgCallbacks ()
 
def dgTimer ()
 
def dgTimerOff ()
 
def dgTimerOn ()
 
def dgTimerQueryState ()
 
def dgTimerReset ()
 
def findAlias ()
 
def findPlug ()
 
def getAffectedAttributes ()
 
def getAffectingAttributes ()
 
def getAliasAttr ()
 
def getAliasList ()
 
def getConnections ()
 
def getExternalContent ()
 
def hasAttribute ()
 
def hasUniqueName ()
 
def isFlagSet ()
 
def isNewAttribute ()
 
def isTrackingEdits ()
 
def name ()
 
def plugsAlias ()
 
def removeAttribute ()
 
def reorderedAttribute ()
 
def setAffectsAnimation ()
 
def setAlias ()
 
def setDoNotWrite ()
 
def setExternalContent ()
 
def setExternalContentForFileAttr ()
 
def setFlag ()
 
def setName ()
 
def setUuid ()
 
def uniqueName ()
 
def userNode ()
 
def uuid ()
 
- Public Member Functions inherited from OpenMaya.MFnBase
def __init__ ()
 
def hasObj ()
 
def object ()
 
def setObject ()
 
def type ()
 

Static Public Member Functions

def __new__ ()
 
- Static Public Member Functions inherited from OpenMayaAnim.MFnGeometryFilter
def __new__ ()
 
- Static Public Member Functions inherited from OpenMaya.MFnDependencyNode
def __new__ ()
 
def allocateFlag ()
 
def classification ()
 
def deallocateAllFlags ()
 
def deallocateFlag ()
 
- Static Public Member Functions inherited from OpenMaya.MFnBase
def __new__ ()
 

Additional Inherited Members

- Static Public Attributes inherited from OpenMaya.MFnDependencyNode
int kTimerMetrics = 9
 
int kTimerTypes = 3
 
int kExtensionAttr = 3
 
int kInvalidAttr = 4
 
int kLocalDynamicAttr = 1
 
int kNormalAttr = 2
 
int kTimerInvalidState = 3
 
int kTimerOff = 0
 
int kTimerOn = 1
 
int kTimerUninitialized = 2
 
int kTimerMetric_callback = 0
 
int kTimerMetric_callbackNotViaAPI = 6
 
int kTimerMetric_callbackViaAPI = 5
 
int kTimerMetric_compute = 1
 
int kTimerMetric_computeDuringCallback = 7
 
int kTimerMetric_computeNotDuringCallback = 8
 
int kTimerMetric_dirty = 2
 
int kTimerMetric_draw = 3
 
int kTimerMetric_fetch = 4
 
int kTimerType_count = 2
 
int kTimerType_inclusive = 1
 
int kTimerType_self = 0
 
- Properties inherited from OpenMayaAnim.MFnGeometryFilter
 deformerSet = property(...)
 
 envelope = property(...)
 
- Properties inherited from OpenMaya.MFnDependencyNode
 isDefaultNode = property(...)
 
 isFromReferencedFile = property(...)
 
 isLocked = property(...)
 
 isShared = property(...)
 
 namespace = property(...)
 
 pluginName = property(...)
 
 typeId = property(...)
 
 typeName = property(...)
 

Detailed Description

Function set for operating on weightGeometryFilter nodes.
weightGeometryFilter is the abstract node type from which 
weighted deformer node types derive.

__init__()
Initializes a new, empty MFnWeightGeometryFilter functionset.

__init__(MObject)
Initializes a new MFnWeightGeometryFilter functionset and attaches it
to a geometryFilter node.

Method resolution order:
-   MFnWeightGeometryFilter
-   MFnGeometryFilter
-   OpenMaya.MFnDependencyNode
-   OpenMaya.MFnBase
-   builtins.object

Constructor & Destructor Documentation

def OpenMayaAnim.MFnWeightGeometryFilter.__init__ ( )
Initialize self.  See help(type(self)) for accurate signature.

Member Function Documentation

def OpenMayaAnim.MFnWeightGeometryFilter.__new__ ( )
static
Create and return a new object.  See help(type) for accurate signature.
def OpenMayaAnim.MFnWeightGeometryFilter.getEnvelopeWeights ( )
getEnvelopeWeights(index) -> MFloatArray


Returns the weights the deformer uses for the geometry at the specified plug index.
* index (unsigned int) - Plug index of the desired geometry.
def OpenMayaAnim.MFnWeightGeometryFilter.getWeightPlugStrings ( )
weightPlugStrings(list) -> MStringArray


Returns the names of the plugs on this node that correspond to the components in the selection list.
* list (MSelectionList) - selection list that contains components.
def OpenMayaAnim.MFnWeightGeometryFilter.getWeights ( )
getWeights(index, components) -> MFloatArray
getWeights(path, components) -> MFloatArray


Returns the weight values of the components.
* plugIndex (unsigned int) - Plug index of the desired geometry.
* path (MDagPath) - The path of the DAG object that has the components.
* components (MObject) - The components whose weights are requested.
def OpenMayaAnim.MFnWeightGeometryFilter.setWeight ( )
setWeight(path, index, components, weight, oldValues=None)
setWeight(path, index, components, values)
setWeight(path, components, weight, oldValues=None)
setWeight(path, components, values)


Returns the status of the operation.
* path (MDagPath) - The path of the DAG object that has the components.
* index (unsigned int) - Plug index of the desired geometry.
* components (MObject) - The components of the object.
* weight (float) - Weight weight value for the components.
* values (MFloatArray) -  An array of new values for the components.
* oldValues (MFloatArray) -  An array of old values for the components.
def OpenMayaAnim.MFnWeightGeometryFilter.weightPlugStrings ( )
weightPlugStrings(list) -> MString


Returns a string (separated by spaces) containing the names of the plugs on this node that correspond to the components in the selection list.
* list (MSelectionList) - selection list that contains components.