/
selectTree
selectTree
Description
Selects the entire tree that each specified module belongs to.
Use selectTree to add or subtract from your selections based upon hierarchical relationships in the scene. You may pass individual nodes, or arrays of nodes to the selectTree command.
Functional area
Selection
Command syntax
Syntax
selectTree node1 node2 ...[-a] [-r] |
Arguments
Name | Type | Required | Comments |
---|---|---|---|
node(s) | string | yes | Name of node(s) in the scene to operate on. |
Flags
Name | Flag arguments | Argument type | Exclusive to | Comments |
---|---|---|---|---|
a | 0 | — | r | Adds to the current selection in the scene |
r | 0 | — | a | Removes from the current selection in the scene |
Return value
void
Examples
// This command adds to the current selection all the // members of the hierarchy to which the node lcollar belongs. selectTree -a lcollar;
Additional information
Related commands
, multiple selections available,