Description

This command enables you to identify and select all the objects of a named type or types in your scene.

Using no options deselects all other objects first, then selects only the named types.

selectByType provides the ability to do things like:

Functional area

Selection

Command syntax

Syntax

selectByType [-a] [-r] [-childOf string]

Arguments

NameTypeRequiredComments
TypestringyesThe type of module to select.

Flags

NameFlag argumentsArgument typeExclusive toComments
a0r
r0a
childOf1string
Only selects modules that are children of this module name.

Return value

void

Examples

// These commands select all the Bone modules in your 
// scene, and then remove all the animation from those modules 
// resetting the skeleton(s) to the base pose.
selectByType Bone;
cutKeys -all;

Additional information

Related commands