We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.

Ansys Learning Forum Forums Discuss Simulation General Mechanical User Defined Result Reply To: User Defined Result

Dustin Lochmüller
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: