Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Current »

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

Name
Type
Required
Comments
partName(s)stringyesThe part name(s) to select by. Must be one of the names in the bone module Part_Name attribute.

Flags

Name
Flag arguments
Argument type
Exclusive to
Comments
a0rSelection adds to the current scene selection. The default is to replace the scene selection.
r0aSelection removes from the current scene selection. The default is to replace the scene selection. 
childOf1stringOnly selects modules that are children of this module name.
side1stringOnly 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

  • No labels