ScrExportCpaSimReport (IronPython)

Exports a CPA simulation report in HTML format.

UI Command:   Results > RLGC > [Simulation Name] > Export Simulation Report.
Syntax:   obj.ScrExportCpaSimReport(<simName>, <filePath>)
Parameters:  

BSTR simName

BSTR filePath

Return Value:  

INT:

  • 0 – Success
  • 1 – Cannot find CPA simulation by simName provided.
  • 2 – Export failed.
VB Example:  

obj.ScrExportCpaSimReport("CPA Sim 1", "C:/Directory/")

IPY Example:  

oDoc.ScrExportCpaSimReport('CPA Sim 1','C:/Directory/')