A script editor reporter control used to receive and display the history of processed commmands.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
annotation (ann) | unicode | ||
backgroundColor (bgc) | float, float, float | ||
clear (clr) | bool | ||
|
|||
copySelection (cp) | bool | ||
|
|||
cutSelection (ct) | bool | ||
|
|||
defineTemplate (dt) | unicode | ||
docTag (dtg) | unicode | ||
dragCallback (dgc) | callable | ||
dropCallback (dpc) | callable | ||
echoAllCommands (eac) | bool | ||
|
|||
enable (en) | bool | ||
enableBackground (ebg) | bool | ||
exists (ex) | bool | ||
filterSourceType (fst) | unicode | ||
Filters the specified source type from showing in this command reporter. Currently supports either mel, python, or (default). Setting the filter to the empty string () will remove all filtering and show both meland pythonresults. |
|||
fullPathName (fpn) | bool | ||
hasFocus (hf) | bool | ||
|
|||
height (h) | int | ||
isObscured (io) | bool | ||
lineNumbers (ln) | bool | ||
|
|||
manage (m) | bool | ||
numberOfPopupMenus (npm) | bool | ||
parent (p) | unicode | ||
pasteSelection (pst) | bool | ||
|
|||
popupMenuArray (pma) | bool | ||
preventOverride (po) | bool | ||
receiveFocusCommand (rfc) | callable | ||
|
|||
saveSelection (sv) | unicode | ||
|
|||
saveSelectionToShelf (svs) | bool | ||
|
|||
select (sl) | int, int | ||
|
|||
selectAll (sla) | bool | ||
|
|||
stackTrace (st) | bool | ||
|
|||
suppressErrors (se) | bool | ||
|
|||
suppressInfo (si) | bool | ||
|
|||
suppressResults (sr) | bool | ||
|
|||
suppressStackTrace (sst) | bool | ||
|
|||
suppressWarnings (sw) | bool | ||
|
|||
text (t) | unicode | ||
|
|||
textLength (tl) | bool | ||
|
|||
useTemplate (ut) | unicode | ||
visible (vis) | bool | ||
visibleChangeCommand (vcc) | callable | ||
width (w) | int | ||
Derived from mel command maya.cmds.cmdScrollFieldReporter
Example:
import pymel.core as pm
# this will create a tiny window with a command history reporter
pm.window()
# Result: ui.Window('window1') #
pm.columnLayout()
# Result: ui.ColumnLayout('window1|columnLayout15') #
pm.cmdScrollFieldReporter(width=200, height=100)
# Result: ui.CmdScrollFieldReporter('window1|columnLayout15|cmdScrollFieldReporter2') #
pm.showWindow()