Initialize self. See help(type(self)) for accurate signature.
Member Function Documentation
OpenMaya.MObjectHandle.__eq__
(
)
Return self==value.
OpenMaya.MObjectHandle.__ge__
(
)
Return self>=value.
OpenMaya.MObjectHandle.__gt__
(
)
Return self>value.
OpenMaya.MObjectHandle.__le__
(
)
Return self<=value.
OpenMaya.MObjectHandle.__lt__
(
)
Return self<value.
OpenMaya.MObjectHandle.__ne__
(
)
Return self!=value.
OpenMaya.MObjectHandle.__new__
(
)
static
Create and return a new object. See help(type) for accurate signature.
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.
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
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).
OpenMaya.MObjectHandle.isValid
(
)
isValid() -> bool
Returns the validity of the associated MObject.
OpenMaya.MObjectHandle.object
(
)
object() -> MObject
Returns the MObject associated with this handle. The returned MObject will be MObject.kNullObj if the object is invalid.