/
isSelectionSet
isSelectionSet
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
Name | Type | Required | Comments |
---|---|---|---|
isSelectionSet | string | yes | The 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
, multiple selections available,
Related content
getSelectionSets
getSelectionSets
More like this
setSelectionSetFile
setSelectionSetFile
More like this
getSelectionSetSets
getSelectionSetSets
More like this
getSelectionSetSets
getSelectionSetSets
More like this
selectSet
selectSet
More like this
setAltToSelect
setAltToSelect
More like this