/
setPrimary

setPrimary

Description

Sets a named module as the primary selection.

Use setPrimary to make any scene module the primary selection, whether or not that module is currently selected. If there is a primary selection at the time at which the command is executed, that module will remain selected, but will no longer be primary.

Functional area

Selection

Command syntax

Syntax

setPrimary "name" [-prev] [-next]

Arguments

NameTypeRequiredComments
namestringnoString name of the module to be declared as primary

Flags

NameFlag argumentsArgument typeExclusive toComments
prev0nextIf multiple modules are selected, sets the primary module to the next module of those selected.
next0prevIf multiple modules are selected, sets the primary module to the previous module of those selected.

Return value

void

Examples

// Set "LFIN" to the primary selection. 
// Currently selected modules remain selected.
setPrimary "LFIN";

Additional information

Related commands