Go to: Synopsis. Return value. Flags. MEL examples.
commandEcho [-addFilter string[]] [-filter string[]] [-lineNumbers boolean] [-state boolean]
commandEcho is undoable, queryable, and NOT editable.
This command controls what is echoed to the command window.None
In query mode, return type is based on queried flag.
| Long name (short name) | Argument types | Properties | ||
|---|---|---|---|---|
-addFilter(-af)
|
string[]
|
|
||
|
||||
-filter(-f)
|
string[]
|
|
||
|
||||
-lineNumbers(-ln)
|
boolean
|
|
||
|
||||
-state(-st)
|
boolean
|
|
||
|
||||
// Echo everything
commandEcho -state on;
// Go back to normal
commandEcho -state off;
// Display line number information in messages. This is the default.
commandEcho -lineNumbers on;
// Do not display line number information in messages.
commandEcho -lineNumbers off;
// Do not display changeToolIcon, escapeCurrentTool or autoUpdateAttrEd commands when echoing everything
commandEcho -filter {"changeToolIcon", "escapeCurrentTool", "autoUpdateAttrEd"};
// Do not display setLastFocusedCommandReporter or setLastFocusedCommandExecuter when echoing everything
commandEcho -filter "setLastFocusedCommand";
// Add to the current filter
commandEcho -addFilter "addToolIcon";