ジャンプ先: 概要. 戻り値. フラグ. Python 例.
nodeEditor(
[string]
, [addNewNodes=boolean], [addNode=string], [additiveGraphingMode=boolean], [allAttributes=boolean], [allNodes=boolean], [autoSizeNodes=boolean], [beginCreateNode=boolean], [beginNewConnection=string], [breakSelectedConnections=boolean], [control=boolean], [createInfo=string], [createNodeCommand=script], [cycleHUD=boolean], [defaultPinnedState=boolean], [defineTemplate=string], [deleteSelected=boolean], [docTag=string], [dotFormat=string], [downstream=boolean], [exists=boolean], [extendToShapes=boolean], [feedbackConnection=boolean], [feedbackNode=boolean], [feedbackPlug=boolean], [feedbackType=boolean], [filter=string], [filterCreateNodeTypes=script], [forceMainConnection=string], [frameAll=boolean], [frameModelSelection=boolean], [frameSelected=boolean], [getNodeList=boolean], [graphSelectedConnections=boolean], [gridSnap=boolean], [gridVisibility=boolean], [highlightConnection=string], [hudMessage=[string, int, float]], [ignoreAssets=boolean], [island=boolean], [keyPressCommand=script], [keyReleaseCommand=script], [layout=boolean], [layoutCommand=script], [lockMainConnection=boolean], [mainListConnection=string], [nodeTitleMode=string], [nodeViewMode=string], [panView=[float, float]], [panel=string], [parent=string], [pinSelectedNodes=boolean], [popupMenuScript=script], [removeDownstream=boolean], [removeNode=string], [removeUnselected=boolean], [removeUpstream=boolean], [renameNode=string], [restoreInfo=string], [rootNode=string], [rootsFromSelection=boolean], [scaleView=float], [selectAll=boolean], [selectConnectionNodes=boolean], [selectDownstream=boolean], [selectFeedbackConnection=boolean], [selectNode=string], [selectUpstream=boolean], [selectionConnection=string], [settingsChangedCallback=script], [shaderNetworks=boolean], [showAllNodeAttributes=string], [showNamespace=boolean], [showSGShapes=boolean], [showShapes=boolean], [showTransforms=boolean], [stateString=boolean], [syncedSelection=boolean], [toggleSelectedPins=boolean], [toggleSwatchSize=string], [toolTipCommand=script], [traversalDepthLimit=int], [unParent=boolean], [unlockMainConnection=boolean], [updateMainConnection=boolean], [upstream=boolean], [useTemplate=string])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
nodeEditor は、取り消し可能、照会可能、および編集可能です。
このコマンドは、nodeEditor エディタの作成、編集、照会を行います。オプションの引数はコントロールの名前です。string | 作成したコントロールの名前。 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||
---|---|---|---|---|
exists(ex)
|
boolean
|
|||
|
||||
defineTemplate(dt)
|
string
|
|||
|
||||
useTemplate(ut)
|
string
|
|||
|
||||
panel(pnl)
|
string
|
|||
|
||||
parent(p)
|
string
|
|||
|
||||
unParent(up)
|
boolean
|
|||
|
||||
control(ctl)
|
boolean
|
|||
|
||||
mainListConnection(mlc)
|
string
|
|||
|
||||
forceMainConnection(fmc)
|
string
|
|||
|
||||
selectionConnection(slc)
|
string
|
|||
|
||||
highlightConnection(hlc)
|
string
|
|||
|
||||
filter(f)
|
string
|
|||
|
||||
lockMainConnection(lck)
|
boolean
|
|||
|
||||
stateString(sts)
|
boolean
|
|||
|
||||
unlockMainConnection(ulk)
|
boolean
|
|||
|
||||
updateMainConnection(upd)
|
boolean
|
|||
|
||||
docTag(dtg)
|
string
|
|||
|
||||
addNewNodes(ann)
|
boolean
|
|||
|
||||
addNode(an)
|
string
|
|||
|
||||
allAttributes(ala)
|
boolean
|
|||
|
||||
allNodes(aln)
|
boolean
|
|||
|
||||
autoSizeNodes(asn)
|
boolean
|
|||
|
||||
beginNewConnection(bnc)
|
string
|
|||
|
||||
beginCreateNode(bcn)
|
boolean
|
|||
|
||||
createNodeCommand(cnc)
|
script
|
|||
|
||||
cycleHUD(ch)
|
boolean
|
|||
|
||||
dotFormat(dot)
|
string
|
|||
|
||||
downstream(ds)
|
boolean
|
|||
|
||||
filterCreateNodeTypes(fcn)
|
script
|
|||
|
||||
ignoreAssets(ia)
|
boolean
|
|||
|
||||
upstream(ups)
|
boolean
|
|||
|
||||
rootNode(rn)
|
string
|
|||
|
||||
rootsFromSelection(rfs)
|
boolean
|
|||
|
||||
selectAll(sa)
|
boolean
|
|||
|
||||
selectUpstream(su)
|
boolean
|
|||
|
||||
selectDownstream(sd)
|
boolean
|
|||
|
||||
selectNode(sln)
|
string
|
|||
|
||||
syncedSelection(ssl)
|
boolean
|
|||
|
||||
toolTipCommand(ttc)
|
script
|
|||
|
||||
traversalDepthLimit(tdl)
|
int
|
|||
|
||||
layout(lay)
|
boolean
|
|||
|
||||
layoutCommand(lc)
|
script
|
|||
|
||||
frameAll(fa)
|
boolean
|
|||
|
||||
frameModelSelection(fms)
|
boolean
|
|||
|
||||
frameSelected(fs)
|
boolean
|
|||
|
||||
island(isl)
|
boolean
|
|||
|
||||
popupMenuScript(pms)
|
script
|
|||
|
||||
scaleView(sv)
|
float
|
|||
|
||||
showAllNodeAttributes(saa)
|
string
|
|||
|
||||
showNamespace(sn)
|
boolean
|
|||
|
||||
showShapes(ss)
|
boolean
|
|||
|
||||
showSGShapes(ssg)
|
boolean
|
|||
|
||||
showTransforms(st)
|
boolean
|
|||
|
||||
extendToShapes(ets)
|
boolean
|
|||
|
||||
feedbackConnection(fbc)
|
boolean
|
|||
|
||||
feedbackNode(fbn)
|
boolean
|
|||
|
||||
feedbackPlug(fbp)
|
boolean
|
|||
|
||||
feedbackType(fbt)
|
boolean
|
|||
|
||||
hudMessage(hm)
|
[string, int, float]
|
|||
|
||||
removeNode(rem)
|
string
|
|||
|
||||
removeUnselected(run)
|
boolean
|
|||
|
||||
removeUpstream(ru)
|
boolean
|
|||
|
||||
removeDownstream(rd)
|
boolean
|
|||
|
||||
renameNode(ren)
|
string
|
|||
|
||||
restoreInfo(ri)
|
string
|
|||
|
||||
createInfo(ci)
|
string
|
|||
|
||||
deleteSelected(deleteSelected)
|
boolean
|
|||
|
||||
keyPressCommand(kpc)
|
script
|
|||
|
||||
keyReleaseCommand(krc)
|
script
|
|||
|
||||
nodeViewMode(nvm)
|
string
|
|||
|
||||
nodeTitleMode(ntm)
|
string
|
|||
|
||||
panView(pv)
|
[float, float]
|
|||
|
||||
settingsChangedCallback(scc)
|
script
|
|||
|
||||
toggleSwatchSize(tss)
|
string
|
|||
|
||||
pinSelectedNodes(psn)
|
boolean
|
|||
|
||||
toggleSelectedPins(tsp)
|
boolean
|
|||
|
||||
shaderNetworks(sns)
|
boolean
|
|||
|
||||
breakSelectedConnections(bsc)
|
boolean
|
|||
|
||||
graphSelectedConnections(gsc)
|
boolean
|
|||
|
||||
selectConnectionNodes(scn)
|
boolean
|
|||
|
||||
selectFeedbackConnection(sfc)
|
boolean
|
|||
|
||||
additiveGraphingMode(agm)
|
boolean
|
|||
|
||||
defaultPinnedState(dps)
|
boolean
|
|||
|
||||
getNodeList(gnl)
|
boolean
|
|||
|
||||
gridVisibility(gv)
|
boolean
|
|||
|
||||
gridSnap(gs)
|
boolean
|
|||
|
フラグはコマンドの作成モードで表示できます | フラグはコマンドの編集モードで表示できます |
フラグはコマンドの照会モードで表示できます | フラグに複数の引数を指定し、タプルまたはリストとして渡すことができます。 |
import maya.cmds as cmds cmds.window() form = cmds.formLayout() p = cmds.scriptedPanel(type="nodeEditorPanel", label="Node Editor") cmds.formLayout(form, e=True, af=[(p,s,0) for s in ("top","bottom","left","right")]) cmds.showWindow()