pymel.core.system.dbtrace

dbtrace(*args, **kwargs)

The dbtracecommand is used to manipulate trace objects. The keyword is the only mandatory argument, indicating which trace object is to be altered. Trace Objects to affect (keywordKEY)Optional filtering criteria (filterFILTER)Function (off, outputFILE, mark, titleTITLE, timed: default operation is to enable traces)You can use the query mode to find out which keywords are currently active (query with no arguments) or inactive (query with the offargument). You can enhance that query with or without a keyword argument to find out where their output is going (query with the outputargument), out what filters are currently applied (query with the filterargument), or if their output will be timestamped (query with the timedargument). In query mode, return type is based on queried flag.

Flags:

Long Name / Short Name Argument Types Properties
filter / f unicode ../../../_images/create.gif ../../../_images/query.gif
  Set the filter object for these trace objects (see ‘dgfilter’)
info / i bool ../../../_images/query.gif
  In query mode return a brief description of the trace object.
keyword / k unicode ../../../_images/create.gif ../../../_images/query.gif
  Keyword of the trace objects to affect In query mode, this flag can accept a value.
mark / m bool ../../../_images/create.gif
  Display a mark for all outputs of defined trace objects
off / boolean Toggle the traces off. If omitted it will turn them on. ../../../_images/create.gif
   
output / o unicode ../../../_images/create.gif ../../../_images/query.gif
  Destination file of the affected trace objects. Use the special names stdoutand stderrto redirect to your command window. The special name msdevis available on Windows to direct your output to the debug tab in the output window of Visual Studio.
timed / tm bool ../../../_images/create.gif ../../../_images/query.gif
  Turn on/off timing information in the output of the specified trace objects.
title / t unicode ../../../_images/create.gif
  Display a title mark for all outputs of defined trace objects
verbose / v bool ../../../_images/create.gif
  Include all traces in output and filter queries, not just those turned on. Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.dbtrace