Python scripting downloader - Callbacks

DULPythonCallback

Previous  Chapter  Next

 

Kernel class callback

Operator class

Return value type

Default return value

Python script file name

ModifyActiveProgram

CENPyOlpProgramModifyOperator

-

-

 

cenpyDefProgram.py

ProgramProcessGeometries

CENPyOlpProgramProcessGeometryOperator

Boolean

False

GetScriptName

-

String

""

GetScriptUuId

-

String

""

GetScriptIconName

-

String

""

 

 

The calls DULPythonCallback are used to start the download process with python from C++ code. The callback defines one method named DownloadActiveProgram (implemented in downloadStarter.py). It will be called automatically whenever a Python downloader is selected in FASTSUITE Edition 2. The callback will run the following scripts in Python:

a.  downloadStarter.py

b.  the selected translator script

 

The Callback will also initialize the DULPythonDownloadOperator.

 


Previous
Previous page
Chapter
Chapter page
Next
Next page