/
Python / HSL interaction
Python / HSL interaction
A command in HSL runs a Python command string, which works in the same way as the Shogun Post command line.
python "shogunPost.Command()";
You can call a Python script from HSL in the same way as a native one:
MyPythonScript;
It can also be given arguments:
MyPythonScript( "Arg1", "Arg2");
Note
Returning values back from Python to HSL is not supported. You also cannot step into a Python script in the debugger.
Returning values back from Python to HSL is not supported. You also cannot step into a Python script in the debugger.
You can call HSL from Python, using the following HSL command.
Result = shogunPost.HSL('hslString;')
The command returns a Python string containing the result of the HSL operation.
, multiple selections available,