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.
OpenMaya.MMessage.nodeCallbacks
(
)
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.
OpenMaya.MMessage.removeCallback
(
)
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
OpenMaya.MMessage.removeCallbacks
(
)
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.