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.
Selection
isSelectionSet setName |
Name | Type | Required | Comments |
---|---|---|---|
isSelectionSet | string | yes | The name of the selection set to look for. |
None
boolean
Returns true if the given set exists, false if it does not.
// See if the selection set setLeftFoot exists in Shogun Post. if(`isSelectionSet "setLeftFoot"` == true ) { print "The selection set setLeftFoot is present in Shogun Post"; } |