pymel.core.general.commandEcho

commandEcho(*args, **kwargs)

This command controls what is echoed to the command window. In query mode, return type is based on queried flag.

Flags:
  • filter : f (string[...]) [create,query]

    This flag allows to filter out unwanted commands when echo all commands is enabled. You can provide a partial command name, so all commands that start with a substring specified in filter entry will be filtered out. If filter is empty, all commands are echoed to the command window.

  • lineNumbers : ln (bool) [create,query]

    If true then file name and line number information is provided in error and warning messages. If false then no file name and line number information is provided in error and warning messages. Flag can have multiple arguments, passed either as a tuple or a list.

  • state : st (bool) [create,query]

    If true then all commands are echoed to the command window. If false then only relevant commands are echoed.

Derived from mel command maya.cmds.commandEcho

Previous topic

pymel.core.general.colorIndex

Next topic

pymel.core.general.commandPort

Core

Core Modules

Other Modules

This Page