/
selectBranch
selectBranch
Description
Selects a portion of a hierarchy.
The selectBranch command selects the members of a hierarchical branch. The command continues to select children down or up a branch hierarchy until it reaches the end or beginning of a chain, or a new branching.
Functional area
Selection
Command syntax
Syntax
selectBranch node1 node2 ....[-a] [-r] [-u] |
Arguments
Name | Type | Required | Comments |
---|---|---|---|
node(s) | string | yes | String name of node(s) 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 |
u | 0 | — | — | Selects all modules up the chain until it runs into a new branch |
Return value
void
Examples
// This command adds all members of the left arm chain below // and including the lclavicle to the current selection. // The same applies to the left thigh and below. selectBranch -a lclavicle lfemur;
Additional information
Related commands
, multiple selections available,
Related content
selectChildren
selectChildren
More like this
selectParent
selectParent
More like this
selectByPart
selectByPart
More like this
select
More like this
selectSet
selectSet
More like this
selectByName
selectByName
More like this