Up | Scorpion Python Kernel | Python Script Examples | Console Window | Debugging Python Script | Release Notes | Sample Profiles

Built-in Python Classes | Scorpion Module | Dialogs | Unsupported Modules
 

  

 
Scorpion Python Kernel

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.
  • 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
 

Scorpion Vision Version XII : Build 730 - Date: 20181204
Scorpion Vision Software® is a registered trademark of Tordivel AS.
Copyright © 2000 - 2018 Tordivel AS.