/
selectBySide
selectBySide
Description
Selects bone modules in the scene by their Side attribute.
The Side attribute on bone modules is used for retargeting operations, which relies on body part naming.
Functional area
Selection
Command syntax
Syntax
selectBySide sideName1 sideName2...[-a] [-r] [-childOf string] |
Arguments
Name | Type | Required | Comments |
---|---|---|---|
sideName(s) | string | yes | The side(s) to select by. Must be one of the sides listed in the bone module Side attribute. |
Flags
Name | Flag arguments | Argument type | Exclusive to | Comments |
---|---|---|---|---|
a | 0 | — | r | Selection adds to the current scene selection. The default is to replace the scene selection. |
r | 0 | — | a | Selection removes from the current scene selection. The default is to replace the scene selection. |
childOf | 1 | string | — | Only selects modules that are children of this module name. |
Return value
void
Examples
// Select all bone modules with the "Right" side attribute. selectBySide "Right";
Additional information
Related commands
- select
- selectabilityOn
- selectBranch
- selectByName
- selectByPart
- selectByType
- selectChildren
- selectParent
- selectSet
- selectTree
- setPrimary
, multiple selections available,