v = [SPValue] #0f0f0f::Integer
str = [SPFormat] v, 0,6,16::String
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
- ? is special
- eg ?name evaluates expression
- ?: QueryROT;
- =
equating a n expression
- :: access global ROT
::programs.inspect1 or ::programs::inspect1
- Keywords
- Clear = Clear Screen
- Del [name] = Deletes a Expression/Parameter
- Append [name] = Appends text or a set of Expressions
- Load [name] = Load a set of Expressions
- Save [name] = Save a set of Expressions"), _IS(L""));
- List = List saved Expressions
- DelFile = Delete a file);
- ?[#][base][name] = Display Parameter(s)
- ??[name] = Display Expression(s)
- Syntax = Displays Expression Syntax's
- Cal [nbmonths] = Displays Calender OR
- Cal year [month] [nbmonths] = Displays Calender
- Quit = : Quits / Exits app
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
- Off: no parameters are saved
- All: all parameters are saved
- Those With Input Assigns: only those assigned to an external parameter are 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__