__header__

Script Syntax

Script Examples

Helper



type [] and then select or select existing item in side [] the lookup param and help will reference /show available

Command Prompt Syntax

when used at the command prompt outside of being in a script file

Parameters

these are defined by the script

Preferences

SaveOutputOnRun

OutputToActiveFolder

for html, json or text will save the output (applies to .syn files)

Activefolder

PersistScript

save script as part of step

ClearOnLoad

clears all parameters on srcrip loading

RunOnLoad

when a script is loaded eg viw the filearchivestep will run the script on load

AsciiInterpret

character in "[..]" are interpreted at the ascii codes
eg [CR] = [13] = carriage return...

Asynchronous

When this is run in calling thread or outside calling thread

User interface elements or remote access elements are typically run Asynchronous

ShowOutput

Off|PrintOutput|Intermediate|Both

SaveParameters

Certain type of parameters can be very memory intensive eg point clouds. It is not advantageous to save these when this step is saved

AutoScriptSave

on saving the ste if set and a file name is defined saves the script as a text file

Running as embedded Step

Set the file name with ext .syn to default to processing output eg html files ie maintain the text around any <?syn tag where data outside of the tags will be sent to the output

Syntax Running on Linux Server (no user interface)

xsp scriptfile [[?]name1=value&name2=value2][>output]

separator can be & or ,
uses uri encoding eg space is + if starts with ?

eg sudo ./xsp ./ScriptsSS/scriptCalibGenerate.txt ">./output.txt"

Syntax Running as http Server

the output is a file that can be configured to be json or other format and or course any generated images

for json ouptput file extension add commented //json to the start of file add
ie // json

add <html> is runningning as a syn file __footer__