The Python
Script Kernel or the built-in Scorpion modules contains the commands available to access Scorpion from Python.
The commands are available from tool scripts and from the Python script
in Central.
The most
important commands are:
-
GetValue - access
to all processing results and system parameters
-
SetValue - change
processing results and system parameters.
-
GetImageMatr -
get an image for custom image processing
-
ExecuteCmd -
execute Scorpion commands
Additonal kernel mode methods
- SetPalette(imageName,paletteName)
List of methods:
Built-in Python Classes Scorpion Module Dialogs Unsupported Modules
Example 1: Import Scorpion Module
import Scorpion
from Scorpion import SetValue, GetValue
|