/
selectionSet

selectionSet

Description

Creates a selection set with an optional name or operate on the named selection set.

Use this command when you need to create, delete, add nodes or sets to, or remove nodes or sets from selection sets.

Functional area

Selection

Command syntax

Syntax

selectionSet "setName" ["nodeName1"] ...[-add] [-set string] [-remove] [-delete] [-deleteAll]

Arguments

NameTypeRequiredComments
setNamestringyesThe name of a selection set to be operated on, if none with indicated name exists, a selection set having that name is created.
nodeName(s)stringnoThe name of node(s) to be added or removed from the set.

Flags

NameFlag argumentsArgument typeExclusive toComments
add0remove, delete, deleteAllAdds the currently selected markers, and other sets (using -set) to "name" set
set1stringSpecifies a selection set to be added, or removed from the given selection set depending if -add or -remove are used.
remove0add, delete, deleteAllRemoves selected markers in scene and other sets (using -set) from "name" set
delete0remove, deleteAllDeletes indicated set
deleteAll0remove, deleteDeletes all selection sets. Use with care.

Return value

void

Examples

// Create a new selection set called "leftWaist" and 
// add the markers LMWT, LFWT, and LBWT to it. 
select LMWT LFWT LBWT;
selectionSet leftWaist;

Additional information

Related commands