Skip to content

Commit

Permalink
FEAT: Add missed option in ExportToFile (#4968)
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuelopez-ansys authored Jul 30, 2024
1 parent 5da1dc4 commit a6445bb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pyaedt/modules/PostProcessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1443,7 +1443,7 @@ def export_report_to_file(
Step range with units for the sweep if the ``uniform`` parameter is
set to ``True``.
use_trace_number_format : bool, optional
Whether to use trace number formats. The default is ``False``.
Whether to use trace number formats and use separate columns for curve. The default is ``False``.
Returns
-------
Expand Down Expand Up @@ -1484,10 +1484,8 @@ def export_report_to_file(
self.oreportsetup.ExportReportDataToFile(plot_name, file_path)
elif uniform:
self.oreportsetup.ExportUniformPointsToFile(plot_name, file_path, start, end, step, use_trace_number_format)

else:
self.oreportsetup.ExportToFile(plot_name, file_path)

self.oreportsetup.ExportToFile(plot_name, file_path, use_trace_number_format)
return file_path

@pyaedt_function_handler()
Expand Down

0 comments on commit a6445bb

Please sign in to comment.