export_table_to_file#

NearField.export_table_to_file(plot_name: str, output_file: str, table_type: str = 'Marker') → bool#

Export a marker table or a legend (with trace characteristics result) from a report to a file.

Parameters:
plot_namestr

Plot name.

output_filestr

Full path of the outputted file. Valid extensions for the output file are: .tab, .csv

table_typestr

Valid table types are: Marker, DeltaMarker, Legend. Default table_type is Marker.

Returns:
bool

True when successful, False when failed.

References

>>> oModule.ExportTableToFile

Examples

>>> from ansys.aedt.core.visualization.report.common import CommonReport
>>> obj = CommonReport()
>>> obj.export_table_to_file("MyPlot", "output.csv", table_type="Marker")