Export to CSV file
Python API
1
Posts
1
Posters
8
Views
1
Watching
-
I want to output the results of the EM simulation "EM U(t)" as a csv file, but I can't save it.
Please tell me the reason.Thank you in advance.
# Adding a new PlotViewer inputs = [em_sensor_extractor.Outputs["EM U(t)"]] plot_viewer = analysis.viewers.PlotViewer(inputs=inputs) plot_viewer.visible = True plot_viewer.ExportToCSV("C:/Temp/test.csv") plot_viewer.UpdateAttributes() document.AllAlgorithms.Add(plot_viewer)