Skip to Content

Report Utility — Lifecycle

Back to Report Utility.

__init__

def __init__()

Initialization

createAutoExecutePDFReport

def createAutoExecutePDFReport(Operator, apppath, selection='')

Pass Command from AutoExecute, e.g. after Download

Parameters:

NameTypeDescription
Operatorthe CENPyOlpProgramModifyOperator
apppaththe Location of the Caller Script. Needed to find the Images
selection— (default: '')

createAuxCommandsPDFReport

def createAuxCommandsPDFReport(Operator, apppath, selection='')

Pass Command from Program Dashboard’s “Auxiliary Commands”

Parameters:

NameTypeDescription
Operatorthe CENPyOlpProgramModifyOperator
apppaththe Location of the Caller Script. Needed to find the Images
selection— (default: '')

createPDFReport

def createPDFReport(Operator, apppath, repfilepath, selection='')

Main Method to create the PDF Report

Parameters:

NameTypeDescription
Operatorthe CENPyOlpProgramModifyOperator
apppaththe Location of the Caller Script. Needed to find the Images
repfilepaththe Location of the where the PDF Report should be written.
selection— (default: '')

createDialogueUI

def createDialogueUI(window: UserInterface, defaultFileName, defaultDlPath)

Create the window elements and functions.

Parameters:

NameTypeDescription
windowUserInterfaceUserInterface: the Window Handler
defaultFileNamethe default Filename of the PDF Report
defaultDlPaththe default Location of the PDF Report
Was this page helpful?