cmdScrollFieldExecuter([appendText=string], [clear=boolean], [copySelection=boolean], [currentLine=uint], [cutSelection=boolean], [execute=boolean], [executeAll=boolean], [hasFocus=boolean], [hasSelection=boolean], [insertText=string], [load=boolean], [loadContents=string], [pasteSelection=boolean], [redo=boolean], [removeStoredContents=string], [replaceAll=[string, string]], [saveSelection=string], [saveSelectionToShelf=boolean], [searchAndSelect=boolean], [searchDown=boolean], [searchMatchCase=boolean], [searchString=string], [select=[uint, uint]], [selectAll=boolean], [selectedText=boolean], [showLineNumbers=boolean], [source=boolean], [sourceType=string], [storeContents=string], [text=string], [textLength=boolean], [undo=boolean])
注意: オブジェクト名や引数を表す文字列はカンマで区切ります。これは概要には示されていません。
cmdScrollFieldExecuter は 「元に戻す」が可能、「照会」が可能、「編集」が可能 です。
Maya に対してスクリプト コマンドを発行するために使用するスクリプト エディタ エクゼキュータ コントロールです。string | エクゼキュータ コントロールの名前 |
戻り値の型は照会モードでは照会フラグが基になります。
ロング ネーム(ショート ネーム) | 引数型 | プロパティ | ||
---|---|---|---|---|
load(ld)
|
boolean
|
![]() ![]() |
||
|
||||
source(src)
|
boolean
|
![]() ![]() |
||
|
||||
saveSelection(sv)
|
string
|
![]() ![]() |
||
|
||||
saveSelectionToShelf(svs)
|
boolean
|
![]() ![]() |
||
|
||||
selectAll(sla)
|
boolean
|
![]() ![]() |
||
|
||||
select(sl)
|
[uint, uint]
|
![]() ![]() |
||
|
||||
hasSelection(hsl)
|
boolean
|
![]() |
||
|
||||
selectedText(slt)
|
boolean
|
![]() |
||
|
||||
clear(clr)
|
boolean
|
![]() ![]() |
||
|
||||
text(t)
|
string
|
![]() ![]() ![]() |
||
|
||||
textLength(tl)
|
boolean
|
![]() |
||
|
||||
cutSelection(ct)
|
boolean
|
![]() ![]() |
||
|
||||
copySelection(cp)
|
boolean
|
![]() ![]() |
||
|
||||
pasteSelection(pst)
|
boolean
|
![]() ![]() |
||
|
||||
hasFocus(hf)
|
boolean
|
![]() |
||
|
||||
undo(ud)
|
boolean
|
![]() ![]() |
||
|
||||
redo(rd)
|
boolean
|
![]() ![]() |
||
|
||||
execute(exc)
|
boolean
|
![]() ![]() |
||
|
||||
executeAll(exa)
|
boolean
|
![]() ![]() |
||
|
||||
storeContents(stc)
|
string
|
![]() ![]() |
||
|
||||
loadContents(ldc)
|
string
|
![]() ![]() |
||
|
||||
removeStoredContents(rsc)
|
string
|
![]() ![]() |
||
|
||||
appendText(at)
|
string
|
![]() ![]() |
||
|
||||
insertText(it)
|
string
|
![]() ![]() |
||
|
||||
sourceType(st)
|
string
|
![]() ![]() |
||
|
||||
showLineNumbers(sln)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
searchDown(sd)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
searchMatchCase(smc)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
searchString(ss)
|
string
|
![]() ![]() ![]() |
||
|
||||
searchAndSelect(sas)
|
boolean
|
![]() |
||
|
||||
replaceAll(rpa)
|
[string, string]
|
![]() ![]() |
||
|
||||
currentLine(cl)
|
uint
|
![]() ![]() ![]() |
||
|
![]() |
![]() |
![]() |
![]() |
import maya.cmds as cmds # this will create a tiny window with a script command executer. cmds.window() cmds.columnLayout() cmds.cmdScrollFieldExecuter(width=200, height=100) cmds.showWindow()