/
selectByPart
selectByPart
Description
Selects bone modules in the scene by their Part_Name attribute.
The Part_Name attribute on bone modules is used for retargeting operations, which relies on body part naming.
Functional area
Selection
Command syntax
Syntax
selectByPart partName1 partName2...[-a] [-r] [-childOf string] [-side string] |
Arguments
Loading
Name | Type | Required | Comments |
---|---|---|---|
partName(s) | string | yes | The part name(s) to select by. Must be one of the names in the bone module Part_Name attribute. |
Flags
Loading
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. |
Loading childOf | 1 | string | — | Only selects modules that are children of this module name. |
side | 1 | string | — | Only selects modules that have the side attribute set to this. |
Return value
void
Examples
// Select all bone modules with the "Collar" part name. selectByPart "Collar";
Additional information
Related commands
, multiple selections available,
Related content
selectByPart
selectByPart
More like this
selectByPart
selectByPart
More like this
selectByPart
selectByPart
More like this
selectByPart
selectByPart
More like this
selectByPart
selectByPart
More like this
selectBySide
selectBySide
More like this