Accessing and importing component max min temperatures using pyAEDT for icepak #5049
-
Hi, I have solved model which I am accessing through pyAEDT script for postprocessing. I want to get the minimum, maximum temperatures from the results in an excel file. Is there any option to get this? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
@Somayaji1995 Please play with the create_field_summary method : fs = icepak_app.post.create_field_summary() @lorenzovecchietti ANy more hint is welcomed :) |
Beta Was this translation helpful? Give feedback.
-
Can we get any examples for this? As it is not working in my case |
Beta Was this translation helpful? Give feedback.
-
@Samuelopez-ansys 's example should work perfectly. |
Beta Was this translation helpful? Give feedback.
@Samuelopez-ansys 's example should work perfectly.
You can add the
pandas_output
argument:df = fs.get_field_summary_data(pandas_output=True)
and then use pandas method to export to xlsx (https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.to_excel.html)