| Python API 2.0 Reference
    | 
 Inheritance diagram for OpenMaya.MObjectHandle:
 Inheritance diagram for OpenMaya.MObjectHandle:| Public Member Functions | |
| def | __eq__ () | 
| def | __ge__ () | 
| def | __gt__ () | 
| def | __init__ () | 
| def | __le__ () | 
| def | __lt__ () | 
| def | __ne__ () | 
| def | assign () | 
| def | hashCode () | 
| def | isAlive () | 
| def | isValid () | 
| def | object () | 
Generic Class for validating MObjects.
| def OpenMaya.MObjectHandle.__init__ | ( | ) | 
x.__init__(...) initializes x; see help(type(x)) for signature
| def OpenMaya.MObjectHandle.__eq__ | ( | ) | 
x.__eq__(y) <==> x==y
| def OpenMaya.MObjectHandle.__ge__ | ( | ) | 
x.__ge__(y) <==> x>=y
| def OpenMaya.MObjectHandle.__gt__ | ( | ) | 
x.__gt__(y) <==> x>y
| def OpenMaya.MObjectHandle.__le__ | ( | ) | 
x.__le__(y) <==> x<=y
| def OpenMaya.MObjectHandle.__lt__ | ( | ) | 
x.__lt__(y) <==> x<y
| def OpenMaya.MObjectHandle.__ne__ | ( | ) | 
x.__ne__(y) <==> x!=y
| def OpenMaya.MObjectHandle.assign | ( | ) | 
assign(source) -> self Assigns this MObjectHandle to an instance of another MObjectHandle, or to a MObject instance. * source (MObject/MObjectHandle) - other instance to assign from.
| def OpenMaya.MObjectHandle.hashCode | ( | ) | 
hashCode() -> int Returns a hash code for the internal Maya object referenced by the MObject within this MObjectHandle. If the MObject is null or no longer alive then 0 will be returned, otherwise the hash code is guaranteed to be non-zero
| def OpenMaya.MObjectHandle.isAlive | ( | ) | 
isAlive() -> bool Returns the live state of the associated MObject. An object can still be 'alive' but not 'valid' (eg. a deleted object that resides in the undo queue).
| def OpenMaya.MObjectHandle.isValid | ( | ) | 
isValid() -> bool Returns the validity of the associated MObject.
| def OpenMaya.MObjectHandle.object | ( | ) | 
object() -> MObject Returns the MObject associated with this handle. The returned MObject will be MObject.kNullObj if the object is invalid.