|
Python API 2.0 Reference
|
Inheritance diagram for OpenMaya.MObject:Public Member Functions | |
| def | __eq__ () |
| def | __ge__ () |
| def | __gt__ () |
| def | __init__ () |
| def | __le__ () |
| def | __lt__ () |
| def | __ne__ () |
| def | apiType () |
| def | hasFn () |
| def | isNull () |
Static Public Member Functions | |
| def | __new__ () |
Static Public Attributes | |
| kNullObj = <OpenMaya.MObjectobject> | |
Properties | |
| apiTypeStr = property(...) | |
Opaque wrapper for internal Maya objects.
| Signature | Parameters | Description |
|---|---|---|
| MObject() | Default constructor. Returns an empty MObject instance (i.e. one which contains kNullObj). | |
| MObject(src) | src - MObject | Copy constructor. Returns a new MObject instance which references the same internal Maya object as src, which must be another MObject instance. |
| == | True if both MObjects refer to the same internal Maya object, False otherwise. |
| != | True if the two MObjects refer to different internal Maya objects, or one is null and the other is not. False otherwise. |
| def OpenMaya.MObject.__init__ | ( | ) |
Initialize self. See help(type(self)) for accurate signature.
| def OpenMaya.MObject.__eq__ | ( | ) |
Return self==value.
| def OpenMaya.MObject.__ge__ | ( | ) |
Return self>=value.
| def OpenMaya.MObject.__gt__ | ( | ) |
Return self>value.
| def OpenMaya.MObject.__le__ | ( | ) |
Return self<=value.
| def OpenMaya.MObject.__lt__ | ( | ) |
Return self<value.
| def OpenMaya.MObject.__ne__ | ( | ) |
Return self!=value.
|
static |
Create and return a new object. See help(type) for accurate signature.
| OpenMaya.MObject.apiType | ( | ) |
| OpenMaya.MObject.hasFn | ( | ) |
Tests whether object is compatible with the specified function set.
| Signature: | hasFn(fn) |
| Parameters: | fn - MFn type constant |
| Returns: | Bool |
| Description: | Returns True if the internal Maya object supports the specified function set specified by fn. |
| OpenMaya.MObject.isNull | ( | ) |
|
static |
|
static |
(readonly) String containing the object's type name.
| Name: | apiTypeStr |
| Type: | string |
| Access: | R |
| Description: | The internal Maya object's MFn type as a string. E.g. 'kTime' for a time node. |