/
setScriptPaths

setScriptPaths

Description

Sets the list of script directories where Shogun Post will look for scripts and pipelines that can be executed.

The script directories are reparsed immediately. This means that if your script calls another script that isn't under any of the new directories, your script will fail after executing this command.

Functional area

System

Command syntax

Syntax

setScriptPaths ScriptPaths

Arguments

NameTypeRequiredComments
ScriptPathsstring arrayyesString array of the new script directories.

Flags

None

Return value

void

Examples

// Set the script directories
string $scriptPaths\[4\];
  $scriptPaths[0] = "C:/Program Files/Vicon/ShogunPost1.8/MyLiveScripts/";
  $scriptPaths[1] = "C:/Program Files/Vicon/ShogunPost1.8/MyLabeling/";
  $scriptPaths[2] = "C:/Program Files/Vicon/ShogunPost1.8/MyEditingScripts/";
  $scriptPaths[3] = "C:/Program Files/Vicon/ShogunPost1.8/MySolvingScripts/";
setScriptPaths $scriptPaths;

Additional information

Related commands


© Copyright Vicon Motion Systems. All rights reserved.

Vicon trademarks