Python API 2.0 Reference
|
Public Member Functions | |
def | __init__ () |
def | hasObj () |
def | object () |
def | setObject () |
def | type () |
Base class for function sets.
Base class for function sets.
def OpenMaya.MFnBase.__init__ | ( | ) |
x.__init__(...) initializes x; see help(type(x)) for 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. |