From a6445bbc2dff0ed879185a2dd91f43c0c8e97cee Mon Sep 17 00:00:00 2001 From: Samuel Lopez <85613111+Samuelopez-ansys@users.noreply.github.com> Date: Tue, 30 Jul 2024 12:34:39 +0200 Subject: [PATCH] FEAT: Add missed option in ExportToFile (#4968) --- pyaedt/modules/PostProcessor.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pyaedt/modules/PostProcessor.py b/pyaedt/modules/PostProcessor.py index df2306acbdf..7408c88f9f3 100644 --- a/pyaedt/modules/PostProcessor.py +++ b/pyaedt/modules/PostProcessor.py @@ -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 ------- @@ -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()