|
Python API 2.0 Reference
|
Inheritance diagram for OpenMaya.MMessage:Static Public Member Functions | |
| def | currentCallbackId () |
| def | nodeCallbacks () |
| def | removeCallback () |
| def | removeCallbacks () |
Static Public Attributes | |
| int | kDefaultAction = 0 |
| int | kDoAction = 2 |
| int | kDoNotDoAction = 1 |
Base class for message callbacks.
|
static |
currentCallbackId() -> id Returns the callback ID of the currently executing callback. If called outside of a callback, an invalid MCallbackId and failed status will be returned.
|
static |
nodeCallbacks(node) -> ids Returns a list of callback IDs registered to a given node. * node (MObject) - Node to query for callbacks. * ids (MCallbackIdArray) - Array to store the list of callback IDs.
|
static |
removeCallback(id) -> None Removes the specified callback from Maya. This method must be called for all callbacks registered by a plug-in before that plug-in is unloaded. * id (MCallbackId) - identifier of callback to be removed
|
static |
removeCallbacks(ids) -> None Removes all of the specified callbacks from Maya. This method must be called for all callbacks registered by a plug-in before that plug-in is unloaded. * idList (MCallbackIdArray) - list of callbacks to be removed.