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.
Selection
selectBySide sideName1 sideName2...[-a] [-r] [-childOf string] |
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. |
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. |
void
// Select all bone modules with the "Right" side attribute. selectBySide "Right"; |