Python API 2.0 Reference
OpenMaya.MFnBase Class Reference
+ Inheritance diagram for OpenMaya.MFnBase:

Public Member Functions

def __init__ ()
 
def hasObj ()
 
def object ()
 
def setObject ()
 
def type ()
 

Static Public Member Functions

def __new__ ()
 

Detailed Description

Base class for function sets.

Base class for function sets.

 


Constructor & Destructor Documentation

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

Member Function Documentation

def OpenMaya.MFnBase.__new__ ( )
static
Create and return a new object.  See help(type) for accurate signature.
OpenMaya.MFnBase.hasObj ( )
Returns True if the function set is compatible with the specified Maya object.
Signature: hasObj(type)
Parameters: type - MFn Type constant
Returns: bool
Description: True if the function set is compatible with the specified type of Maya object.
Signature: hasObj(object)
Parameters: object - MObject
Returns: bool
Description: True if the function set is compatible with the specified Maya object.
OpenMaya.MFnBase.object ( )
Returns a reference to the object to which the function set is currently attached, or MObject.kNullObj if none.
Signature: object()
Parameters:  
Returns: MObject
Description: Returns a reference to the object to which the function set is currently attached, or MObject.kNullObj if none.
OpenMaya.MFnBase.setObject ( )
Attaches the function set to the specified Maya object.
Signature: setObject(object)
Parameters: object - MObject
Returns: Reference to self.
Description: Attaches the function set to the specified Maya object.
OpenMaya.MFnBase.type ( )
Returns the type of the function set.
Signature: type()
Parameters:  
Returns: MFn Type constant
Description: Returns the type of the function set.