ジャンプ先: 概要. 戻り値. 関連. フラグ. MEL 例.
listHistory [-allConnections] [-allFuture] [-allGraphs boolean] [-breadthFirst] [-fastIteration boolean] [-fullNodeName boolean] [-future boolean] [-futureLocalAttr] [-futureWorldAttr] [-groupLevels boolean] [-historyAttr] [-interestLevel int] [-leaf boolean] [-levels uint] [-pruneDagObjects boolean]
objects
listHistory は、取り消し可能、照会可能、および編集不可能です。
指定したノードからグラフ内を前後に移動し、コマンドが通過するコンストラクション ヒストリがあるすべてのノードを返します。コンストラクション ヒストリは、クリエータとして定義されているノードの特定アトリビュートへの接続と、ノードのメイン データの結果(NURBS カーブ ノードのカーブなど)から構成されます。
特定プラグでヒストリ 接続の情報を調べるには、「listConnections」コマンドを最初に使用してヒストリの始まる場所を検索し、次に作成されたノードでこのコマンドを使用します。
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
listConnections, listRelatives
allConnections, allFuture, allGraphs, breadthFirst, fastIteration, fullNodeName, future, futureLocalAttr, futureWorldAttr, groupLevels, historyAttr, interestLevel, leaf, levels, pruneDagObjects
フラグはコマンドの作成モードで表示できます
|
フラグはコマンドの編集モードで表示できます
|
フラグはコマンドの照会モードで表示できます
|
コマンド内でフラグを複数回使用できます。
|
curve -d 3 -p -3 0 0 -p -1 0 6 -p 6 0 8 -p 8 0 2
-k 0 -k 0 -k 0 -k 1 -k 1 -k 1 -n snake;
instance -n rattler;
revolve -ch on -n charmer rattler;
revolve -ch on -n medusa snake;
listHistory;
// Result: medusaShape revolve2 snake|curveShape1 //
listHistory charmer;
// Result: charmerShape revolve1 rattler|curveShape1 //
listHistory -lv 1 medusa;
// Result: medusaShape revolve2 //
listHistory -future true medusa;
// Result: medusaShape initialShadingGroup //
// If you just list the curve's future you get both directions
listHistory -future true curveShape1;
// Result: snake|curveShape1 snake|curveShape1 revolve2 medusaShape
// snake|curveShape1 revolve1 charmerShape //
// To follow only one history you'll need to follow the path you
// want first, then add the node you started at if so desired since
// it will not be included (here snake|curveShape1 won't list).
// List the future of the first curve
string $hist[] = `listConnections -c 1 curveShape1.ws[0]`;
listHistory -future true $hist[1];
// Result: revolve2 medusaShape //
// List the future of the second curve
$hist = `listConnections -c 1 curveShape1.ws[1]`;
listHistory -future true $hist[1];
// Result: revolve1 charmerShape //
listHistory -leaf 0;
// Result: medusa //