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

ScorpionEx.py | SetValue | GetValue | SetConfigValue | GetConfigValue | GetImageMatr | RegisterCallback | RegisterPlugin | RegisterUserManager | PluginChanged | ExecuteCmd | Other

  

Scorpion Module

The built-in Scorpion Module provides many functions for Scorpion users.

Example 1: Import Scorpion Module

import Scorpion
from Scorpion import SetValue, GetValue
SetValue('Counter.Value',GetValue('Counter.Value')+1) #increase by one

Example 2: Generate Complete list of methods and classnames in the Scorpion Module:

import Scorpion
for i in dir(Scorpion): print i 
# will generate the following list in scorpion 9.0.0.491

AxisAngleToEuler
AxisAngleToQuaternion
Bitmap
Button
Camera
CameraCalibrationTool
CameraCalibrator
CameraImage
CameraImages
Cameras
CentralPluginPage
CheckBox
ClearOverlay
Clipboard
ComboBox
Control
CreateDialog
CreateForm
Curve
CurveData
CurveView
CustomPage
CustomPageScrollBox
DataInput
DataInputScrollBox
DecodeTdvCmd
DelVar
Dialog
DrawAt
DrawCircle
DrawLine
DrawLineEx
DrawLineEx3D
DrawMarker
DrawMarker3D
DrawPolygon
DrawRect
DrawText
DrawText3D
Edit
EditScript
EncodeTdvCmd
EulerToAxisAngle
EulerToQuaternion
Execute
ExecuteCmd
Font
Form
Frame
GetBitmap
GetBoolValue
GetButton
GetCamera
GetCameraCalibrationTool
GetCameraCalibrator
GetCameraImage
GetCameraImages
GetCameras
GetCentralPluginPage
GetCheckBox
GetClipboard
GetComboBox
GetConfigValue
GetControl
GetControlByHandle
GetCurSource
GetCurve
GetCurveData
GetCurveView
GetCustomPage
GetCustomPageScrollBox
GetDataInput
GetDataInputScrollBox
GetEdit
GetFloatValue
GetFont
GetFrame
GetGroupBox
GetHostSheet
GetImage
GetImageBuffer
GetImageMatr
GetImageView
GetImageViewCustomPanel
GetImageViewer2D
GetImageViewer3D
GetImages
GetIndicatorPanel
GetIndicatorPanelMatrix
GetIntValue
GetLabel
GetListBox
GetOverlay
GetOverlayCircle
GetOverlayImageView
GetOverlayItem
GetOverlayLine
GetOverlayMarker
GetOverlayMgr
GetOverlayPolygon
GetOverlayRect
GetOverlayText
GetPageAdmin
GetPageControl
GetPanel
GetParameterPanel
GetPlugin
GetPluginByGUID
GetPluginGUID
GetPluginName
GetPlugins
GetRadioButton
GetResultPanel
GetResultValue
GetScrollBox
GetSelTool
GetState
GetStateList
GetStatistics
GetStringValue
GetTabSheet
GetTagValue
GetTimer
GetTimerList
GetTool
GetToolClassList
GetToolList
GetTrendView
GetUserManager
GetValue
GetVar
GetWinControl
GroupBox
HashStat
HostSheet
Image
ImageBuffer
ImageView
ImageViewCustomPanel
ImageViewer2D
ImageViewer3D
Images
IndicatorPanel
IndicatorPanelMatrix
InputFloat
InputInt
InputStr
Invalidate
Label
ListBox
LoadPlugin
LogonDialog
MessageDlg
Overlay
OverlayCircle
OverlayImageView
OverlayItem
OverlayLine
OverlayMarker
OverlayMgr
OverlayPolygon
OverlayRect
OverlayText
PageAdmin
PageControl
Panel
ParameterPanel
PinDialog
PixToRef
PluginChanged
PluginNotify
PyCallable
QuaternionToAxisAngle
QuaternionToEuler
RadioButton
RefToPix
RegisterCallback
RegisterPlugin
RegisterUserManager
ResultPanel
ScrollBox
SelectDirectory
SelectFileOpen
SelectFileSave
SelectTagname
SetBoolValue
SetCalib
SetConfigValue
SetFloatValue
SetImageMatr
SetIntValue
SetLiveVideo
SetReference
SetResultValue
SetSelTool
SetStringValue
SetTagValue
SetValue
SetVar
State
StateList
Statistics
TabSheet
Timer
TimerList
Tool
ToolClassList
ToolList
ToolStat
TrendView
UnregisterCallback
UnregisterCallbacks
UnregisterPlugin
UnregisterPlugins
WinControl
__doc__
__name__
__package__


Scorpion Vision Software Version: 9.2.0.515 - Date: 20120502
Scorpion Vision Software® is a registered trademark of Tordivel AS.
Copyright © 2000 - 2012 Tordivel AS.