/
getSelectionSetNodes

getSelectionSetNodes

Description

Gets the nodes in the given selection set.

Selection sets are used to select a group of nodes that may or may not be in the scene by name. For example, a selection set called setWaist might contain all the names for the waist markers you might expect to encounter.

The getSelectionSetNodes command returns a list of all the nodes in the given selection set as a string array.

Functional area

Selection

Command syntax

Syntax

getSelectionSetNodes setName

Arguments

Name Type Required Comments
setName string yes Specifies the name of the selection set to get the nodes of.

Flags

None

Return value

string array

Returns a string array of nodes in the given selection set.

Examples

// Get all the nodes in the selection set setWaist.
string $waistNodes = `getSelectionSetNodes "setWaist"`;

Additional information

Related commands