listHistory is undoable, queryable, and editable.
This command traverses backwards or forwards in the graph from
the specified node and returns all of the nodes whose construction
history it passes through. The construction history consists of
connections to specific attributes of a node defined as the
creators and results of the node's main data, eg. the curve for
a Nurbs Curve node.
For information on history connections through specific plugs use
the "listConnections" command first to find where the history begins
then use this command on the resulting node.
| Long name (short name) |
[argument types] |
Properties |
-future(-f)
|
boolean
|
|
|
List the future instead of the history.
|
|
-allFuture(-af)
|
|
|
|
If listing the future, list all of it. Otherwise if a shape has
an attribute that represents its output geometry data, and that plug
is connected, only list the future history downstream from that
connection.
|
|
-levels(-lv)
|
uint
|
|
|
Levels deep to traverse. Setting the number of levels to
0 means do all levels. All levels is the default.
|
|
-leaf(-lf)
|
boolean
|
|
|
If transform is selected, show history for its leaf
shape. Default is true.
|
|
-allGraphs(-ag)
|
boolean
|
|
|
By default, the traversal will remain in the current graph.
If this flag is set to true, the traversal will descend into
subgraphs, and ascend into parent graphs.
|
|
-breadthFirst(-bf)
|
|
|
|
The breadth first traversal will return the closest nodes in the
traversal first. The depth first traversal will follow a complete
path away from the node, then return to any other paths from the
node. Default is depth first.
|
|
-interestLevel(-il)
|
int
|
|
|
If this flag is set, only nodes whose historicallyInteresting
attribute value is not less than the value will be listed.
The historicallyInteresting attribute is 0 on nodes which are
not of interest to non-programmers. 1 for the TDs, 2 for the users.
|
|
-pruneDagObjects(-pdo)
|
boolean
|
|
|
If this flag is set, prune at dag objects.
|
|
-groupLevels(-gl)
|
boolean
|
|
|
The node names are grouped depending on the level. > 1 is
the lead, the rest are grouped with it.
|
|