Vicon Shogun banner

Description

Determines whether a named selection set exists in Shogun Post.

The selection sets that are loaded into Shogun Post are determined by the selection set file specified in the Preferences and any selection sets you make via scripting.

The isSelectionSet command can be used to determine if a selection set of a given name exists in Shogun Post.

Functional area

Selection

Command syntax

Syntax

isSelectionSet setName

Arguments

NameTypeRequiredComments
isSelectionSetstringyesThe name of the selection set to look for.

Flags

None

Return value

boolean

Returns true if the given set exists, false if it does not.

Examples

// See if the selection set setLeftFoot exists in Shogun Post.
if(`isSelectionSet "setLeftFoot"` == true )
{
print "The selection set setLeftFoot is present in Shogun Post";
}

Additional information

Related commands