/
selectParent
selectParent
Description
Selects the immediate parent of each named node
Use selectParent when you need to add or remove the parents of the nodes specified to/from your current selection.
Functional area
Selection
Command syntax
Syntax
selectParent node1 node2 ...[-a] [-r] [-recursive] |
Arguments
Name | Type | Required | Comments |
---|---|---|---|
node1 | string | yes | Name of module in the scene to operate on |
node2 | string | no | Additional modules can specified |
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 |
recursive | 0 | — | — | Selects all parents of the nodes indicated. |
Return value
void
Examples
// This command will select the indicated nodes and their // immediate parents. selectParent -r lcollar rcollar;
Additional information
Related commands
, multiple selections available,