Skip to Content
FASTSUITE E2API ReferencePython APIPython GuidePDF ReportsGeneral callAutoExecute CallAutoExecute Call

AutoExecute Call

Location of the script

The script can be created for a specific technology and stored in the technology folder of the plugin, or it can be made available for all technologies by storing it in the TechnologyCommon folder of the plugin.

It has to be stored in the path …<technology>\ Standard\AuxiliaryCommands\AutoExecute.

The script file has to be named PostProgramDownload.py, to be able to execute it automatically at each download operation.

PDF Auto Execute File Location

Script

The script should contain, besides some general settings, a method called ModifyActiveProgram.

From this method the report creation can be called.

First initialize a member of the ReportUtility (pdf = ReportUtility()) which gives you access to the methods of the class.

Now the command can be performed:

 pdf.createAuxCommandsPDFReport(Operator, "")

The report is created with its default settings. The user will be asked, where the report file should be stored.

PDF Auto Execute Script Content

Report file location

The report file will be stored in the program’s download folder, along with the other download files.

If the folder needs to be changed, this has to be customized by inheriting the createAutoExecutePDFReport() method to the script.

PDF Customize Folder

Was this page helpful?