This command selects objects in the scene via their membership in any selection sets previously defined.
Selection commands are a staple of CG software. Shogun Post provides a flexible array of select functions, including this selectSet command, to meet just about any selection requirement.
The selectSet command coupled with pre-defined selection sets enables you to set up your scenes without regard to specific marker names. For example, a selection set can be defined called setWaist that includes all the names you might encounter for waist markers, allowing the waist markers to be selected via the selection set rather then explicit marker names.
Selection
selectSet "set1" "set2" ...[-all] [-a] [-r] [-priorityOnly] |
Name | Type | Required | Comments |
---|---|---|---|
set1 | string | no | String names of pre-defined Selection Sets. More than one can be used. |
Name | Flag arguments | Argument type | Exclusive to | Comments |
---|---|---|---|---|
all | 0 | — | — | Selects all members of all defined Selection Sets. Using this option removes the need to supply an argument. |
a | 0 | — | r | Add to the current selection |
r | 0 | — | a | Remove from the current selection |
priorityOnly | 0 | — | — | Selects only modules3 that are children of the priority module. |
void
// First add several Selection Sets to the current selection. // Then remove one. // Then select all Selection Set members. selectSet -a head LeftLeg RightFoot; selectSet -r LeftLeg; selectSet -all; |