nodeOutliner [-addCommand script] [-addObject name] [-attrAlphaOrder string] [-connectivity name] [-currentSelection] [-lastMenuChoice string] [-longNames boolean] [-menuCommand script] [-menuMultiOption boolean] [-multiSelect boolean] [-niceNames boolean] [-noConnectivity] [-nodesDisplayed] [-pressHighlightsUnconnected boolean] [-remove string] [-removeAll] [-replace name] [-selectCommand script] [-showConnectedOnly boolean] [-showHidden boolean] [-showInputs boolean] [-showNonConnectable boolean] [-showNonKeyable boolean] [-showOutputs boolean] [-showPublished boolean] [-showReadOnly boolean]
[string]
nodeOutliner は、取り消し可能、照会可能、および編集可能です。
node アウトライナ(Outliner)コマンドで、ディペンデンシー ノードとそのアトリビュートを表示するアウトライン コントロール を作成、編集、照会します。複合アトリビュートを拡張して子を表示させることもできます。コンフィギュア フラグを追加すると、複数選択、カスタマイズ可能なコマンドの選択時発行、単一の入力アトリビュートに対する接続(およびコネクタビリティ)が可能になります。また、コマンド ライン インタフェース、および drag/add を使って、ノードの追加/除去/置き換えを行うこともできます。 構成によっては、ノードに接続されたアトリビュートをドラッグすると、ノードが接続の反対側の端にロードされることがあります。 コマンドをアタッチするには、右マウス ボタン メニューとフラグを使う方法があります。このメニューは、接続されたアトリビュートの特定の接続をリスト表示させるときに使います。接続されたアトリビュートの行以外をクリックすると、空のメニューが表示されます。既定では、メニューにアタッチされたコマンドはありません。なし
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||
|---|---|---|---|---|
-addCommand(-ac)
|
script
|
|
||
|
||||
-addObject(-a)
|
name
|
|
||
|
||||
-attrAlphaOrder(-aao)
|
string
|
|
||
|
||||
-connectivity(-c)
|
name
|
|
||
|
||||
-currentSelection(-cs)
|
|
|
||
|
||||
-lastMenuChoice(-lmc)
|
string
|
|
||
|
||||
-longNames(-ln)
|
boolean
|
|
||
|
||||
-menuCommand(-mc)
|
script
|
|
||
|
||||
-menuMultiOption(-mmo)
|
boolean
|
|
||
|
||||
-multiSelect(-ms)
|
boolean
|
|
||
|
||||
-niceNames(-nn)
|
boolean
|
|
||
|
||||
-noConnectivity(-nc)
|
|
|
||
|
||||
-nodesDisplayed(-nd)
|
|
|
||
|
||||
-pressHighlightsUnconnected(-phu)
|
boolean
|
|
||
|
||||
-remove(-rm)
|
string
|
|
||
|
||||
-removeAll(-rma)
|
|
|
||
|
||||
-replace(-rpl)
|
name
|
|
||
|
||||
-selectCommand(-sc)
|
script
|
|
||
|
||||
-showConnectedOnly(-sco)
|
boolean
|
|
||
|
||||
-showHidden(-sh)
|
boolean
|
|
||
|
||||
-showInputs(-si)
|
boolean
|
|
||
|
||||
-showNonConnectable(-snc)
|
boolean
|
|
||
|
||||
-showNonKeyable(-snk)
|
boolean
|
|
||
|
||||
-showOutputs(-so)
|
boolean
|
|
||
|
||||
-showPublished(-sp)
|
boolean
|
|
||
|
||||
-showReadOnly(-sro)
|
boolean
|
|
||
|
||||
string $mywindow = `window`;
string $myform = `formLayout -numberOfDivisions 100`;
// Create an outliner that will print the name of
// every object added to it to history pane of the
// script editor, then display all available input
// plugs on the node.
string $myoutliner = `nodeOutliner
-showInputs true
-addCommand "print(\"%node \\n\")"`;
// Attach the nodeOutliner to the layout
formLayout -edit
-attachForm $myoutliner "top" 5
-attachForm $myoutliner "left" 5
-attachForm $myoutliner "bottom" 5
-attachForm $myoutliner "right" 5
$myform;
// Display the window with the node Outliner
showWindow $mywindow;
// Create a sphere
string $objectName[] = `sphere`;
// Have the outliner display the sphere
nodeOutliner -e -a nurbsSphere1 $myoutliner;