addConditionCallback(conditionName, function, clientData=None) -> id
This method registers a callback for condition changed messages.
The callback function will be passed the new state of the
condition and any client data that the user wishes to pass in.
* conditionName (string) - the condition to register the
callback for
* function - callable which will be passed a bool indicating
the new state of the condition, and the clientData object.
* clientData - User defined data passed to the callback function
* return: Identifier used for removing the callback.
OpenMaya.MConditionMessage.getConditionNames
(
)
static
getConditionNames() -> (string, string, ...)
This method returns the list of available condition names.
* return: tuple of available condition names.
OpenMaya.MConditionMessage.getConditionState
(
)
static
getConditionState(name) -> bool
This method returns the current state of a condition.
* name (string) - the name of the condition.
* return: The current state of the condition.
The documentation for this class was generated from the following file: