移動先: 概要 戻り値 キーワード. 関連項目. フラグ. Python 例.

概要

dgInfo([allNodes=boolean], [connections=boolean], [dirty=boolean], [nodes=boolean], [nonDeletable=boolean], [outputFile=string], [propagation=boolean], [short=boolean], [subgraph=boolean], [type=string])

注意: オブジェクト名や引数を表す文字列はカンマで区切ります。これは概要には示されていません。

dgInfo は 「元に戻す」が不可能「照会」が不可能「編集」が不可能 です。

このコマンドは、DG 情報をテキスト指向の方法で出力します。出力される情報の範囲は、-all フラグを使用した場合はグラフ全体、ノードやプラグを指定した場合はコマンド ライン上のノードやプラグ、そしてセレクション リストの順序で出力されます。

戻り値

なし

キーワード

debug, dependency, graph, node, output, connection

関連項目

dgdirty, dgeval

フラグ

allNodes, connections, dirty, nodes, nonDeletable, outputFile, propagation, short, subgraph, type
ロング ネーム(ショート ネーム) 引数型 プロパティ
connections(c) boolean create
コネクション情報を出力します。
nodes(n) boolean create
指定したノードを出力します。-all を使用した場合はグラフ全体を出力します。
subgraph(sub) boolean create
ノードかプラグに作用されるサブグラフを出力します。-all を使用した場合は、サブグラフにグループ化されたグラフのすべてのノードを出力します。
allNodes(all) boolean create
グラフ全体をコンテキストとして使用します。
short(s) boolean create
ロング フォーマットではなく、ショート フォーマットで出力します。
dirty(d) boolean create
ダーティかクリーンのノード、プラグ、コネクションのみを出力します。デフォルトでは両方を出力します。
propagation(p) boolean create
伝播、非伝播のノード、プラグ、コネクションのみを出力します。 デフォルトでは両方を出力します。
nonDeletable(nd) boolean create
削除できないノードも含まれます(通常は無視します)。
type(nt) string create
NODETYPE タイプのノードのみを表示するよう、出力をフィルタします。
outputFile(of) string create
STDERR ではなく、ファイル FILE に出力を送信します。

: コマンドの作成モードで使用可能なフラグ : コマンドの編集モードで使用可能なフラグ
: コマンドの照会モードで使用可能なフラグ : タプルまたはリストとして渡された複数の引数を持てるフラグ

Python 例

import maya.cmds as cmds

# create a node
cmds.createNode('transform',name='NODE')
cmds.setKeyframe('NODE.translate')
# Print all things connected to node NODE
cmds.dgInfo( 'NODE', c=True )
# Print all connections currently in the graph
cmds.dgInfo( c=True, all=True )
# Print all connections to attribute tx on node NODE
cmds.dgInfo('NODE.tx',c=True)
# Print all dirty connections in the entire graph
cmds.dgInfo( c=True, all=True, d=True )