ExportToFile
The ExportToFile script command has replaced the script command ExportReport. ExportReport remains in order to retain backward compatibility for existing scripts, but it is strongly recommended that you now use ExportToFile.
From a data table or plot, generates text format, comma delimited, tab delimited, or .dat type output files.
| UI Access | Right-click on report name in the project tree and select Export Data. | |||||||||
| Parameters |
|
|||||||||
| Return Value | None. |
| Python Syntax | ExportToFile(<ReportName>, <FileName>) |
| Python Example |
oModule.ExportToFile("rETotal", "C:/Users/Documents/rETotal.csv") oModule.ExportToFile("S Parameter Table 1", "D:/Users/Documents/cftt.csv", False, " kV, MHz, yd ", True) |