Go to: Synopsis. Return value. Flags. Python examples.
expressionEditorListen([listenFile=string], [listenForAttr=string], [listenForExpression=string], [listenForName=string], [stopListenForAttr=string], [stopListenForExpression=string], [stopListenForName=string])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
expressionEditorListen is undoable, NOT queryable, and NOT editable.
Listens for messages for the Expression Editor, at its request, and
communicates them to it. This action is for internal use only and
should not be called by users. This action should be called only
by the Expression Editor.
listenFile, listenForAttr, listenForExpression, listenForName, stopListenForAttr, stopListenForExpression, stopListenForName
Flag can appear in Create mode of command
Flag can appear in Edit mode of command
Flag can appear in Query mode of command
Flag can have multiple arguments, passed either as a tuple or a list.
import maya.cmds as cmds