OpenMaya.MTypeId Class Reference
Stores a Maya object type identifier.
Constructors
Signature Parameters Description
MTypeId() Default constructor. Returns a new, empty MTypeId object.
MTypeId(src) src - MTypeId Copy constructor. Returns a new MTypeId object with the same value as src .
MTypeId(id) id - long Returns a new MTypeId object with the given id .
MTypeId(prefix, id) prefix - int
id - int Returns a new MTypeId object whose id uses prefix for its upper 24 bits and id for its lower 8. Note that only the lower 24 bits of prefix and the lower 8 of id are significant. All higher order bits are ignored.
Comparison Support
All other comparison operators will raise a TypeError exception.
OpenMaya.MTypeId.__init__
(
)
x.__init__(...) initializes x; see help(type(x)) for signature
OpenMaya.MTypeId.__eq__
(
)
OpenMaya.MTypeId.__ge__
(
)
OpenMaya.MTypeId.__gt__
(
)
OpenMaya.MTypeId.__le__
(
)
OpenMaya.MTypeId.__lt__
(
)
OpenMaya.MTypeId.__ne__
(
)
OpenMaya.MTypeId.__repr__
(
)
x.__repr__() <==> repr(x)
OpenMaya.MTypeId.__str__
(
)
Returns the type id as a long.
Signature: id()
Parameters:
Returns: long
Description: Returns the object's id.