移動先: 概要 戻り値 キーワード 関連項目 フラグ 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
: コマンドの作成モードで使用可能なフラグ
|
: コマンドの編集モードで使用可能なフラグ
|
: コマンドの照会モードで使用可能なフラグ
|
: タプルまたはリストとして渡された複数の引数を持てるフラグ
|
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 )