Ansys Learning Forum › Forums › Discuss Simulation › General Mechanical › User Defined Result › Reply To: User Defined Result
August 1, 2024 at 5:38 pm
Subscriber
Â
Â
Thank you, Erik! It is working now. My mistake was that I always did it the other way around (first defined the path and then the geometry) and that didn’t work.
Â
Do you also have some advice on how to export the result as a table? The script recording is not showing any output when I run it by hand.
If I use "res.ExportToTextFile("PATH_TO_FILE")" it exports the data from the path over distance. I want to change the X-Axis to Time and export those Min, Max, and Average values, but that seems not to work. I did the following but still got the values over distance:
Â
res.GraphControlsXAxis = GraphControlsXAxis.Time
res.ExportToTextFile("PATH_TO_FILE")
Â
and then I got this:
but I want to export this: