Go to: Synopsis. Return value. Flags. Python examples.
cmdScrollFieldReporter([clear=boolean], [copySelection=boolean], [cutSelection=boolean], [echoAllCommands=boolean], [filterSourceType=string], [hasFocus=boolean], [lineNumbers=boolean], [pasteSelection=boolean], [receiveFocusCommand=script], [saveSelection=string], [saveSelectionToShelf=boolean], [select=[uint, uint]], [selectAll=boolean], [stackTrace=boolean], [suppressErrors=boolean], [suppressInfo=boolean], [suppressResults=boolean], [suppressStackTrace=boolean], [suppressWarnings=boolean], [text=string], [textLength=boolean])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
cmdScrollFieldReporter is undoable, queryable, and editable.
A script editor reporter control used to receive and display the history of processed commmands.string | The name of the reporter control |
In query mode, return type is based on queried flag.
Long name (short name) | Argument types | Properties | ||
---|---|---|---|---|
clear(clr)
|
boolean
|
|||
|
||||
copySelection(cp)
|
boolean
|
|||
|
||||
cutSelection(ct)
|
boolean
|
|||
|
||||
echoAllCommands(eac)
|
boolean
|
|||
|
||||
filterSourceType(fst)
|
string
|
|||
|
||||
hasFocus(hf)
|
boolean
|
|||
|
||||
lineNumbers(ln)
|
boolean
|
|||
|
||||
pasteSelection(pst)
|
boolean
|
|||
|
||||
receiveFocusCommand(rfc)
|
script
|
|||
|
||||
saveSelection(sv)
|
string
|
|||
|
||||
saveSelectionToShelf(svs)
|
boolean
|
|||
|
||||
select(sl)
|
[uint, uint]
|
|||
|
||||
selectAll(sla)
|
boolean
|
|||
|
||||
stackTrace(st)
|
boolean
|
|||
|
||||
suppressErrors(se)
|
boolean
|
|||
|
||||
suppressInfo(si)
|
boolean
|
|||
|
||||
suppressResults(sr)
|
boolean
|
|||
|
||||
suppressStackTrace(sst)
|
boolean
|
|||
|
||||
suppressWarnings(sw)
|
boolean
|
|||
|
||||
text(t)
|
string
|
|||
|
||||
textLength(tl)
|
boolean
|
|||
|
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 # this will create a tiny window with a command history reporter cmds.window() cmds.columnLayout() cmds.cmdScrollFieldReporter(width=200, height=100) cmds.showWindow()