/
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

NameTypeRequiredComments
node(s)stringyesString name of node(s) to operate on.

Flags

NameFlag argumentsArgument typeExclusive toComments
a0rAdds to the current selection in the scene
r0aRemoves from the current selection in the scene
u0Selects 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