Python API 2.0 Reference
|
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 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__ | ( | ) |
x.__init__(...) initializes x; see help(type(x)) for signature
def OpenMaya.MObject.__eq__ | ( | ) |
x.__eq__(y) <==> x==y
def OpenMaya.MObject.__ge__ | ( | ) |
x.__ge__(y) <==> x>=y
def OpenMaya.MObject.__gt__ | ( | ) |
x.__gt__(y) <==> x>y
def OpenMaya.MObject.__le__ | ( | ) |
x.__le__(y) <==> x<=y
def OpenMaya.MObject.__lt__ | ( | ) |
x.__lt__(y) <==> x<y
def OpenMaya.MObject.__ne__ | ( | ) |
x.__ne__(y) <==> x!=y
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. |