I'm running a simple tensile test simulation for a single element. Under Results I made a Chart object with Stress vs Strain, which can be manually exported to a csv file by right clicking on the table. The trouble arises from the parametrization. I've parametrized temperature in Workbench so that the same simulation is run once for each temperature. However, the results are not saved for each substep for each design point, and it would be tedious to have to open Mechanical, re-solve, and export the Chart as many times as I have temperatures.
Ideally there would be a macro that runs every time the simulation is solved in Mechanical, exporting the Chart's table to a csv (appending it if possible so that the data for all temperatures is in the same file).
Is there any way to do this? I would imagine it could be achieved with JavaScript in Mechanical (for which I cannot find any documentation).