Hi Saumadeep,
I tried to implement this. The problem with Workbenh crashing occurs intermittently. It is not happening regularly. But I do get a script error when I try to run the above mentioned script as a Python Code object. As I mentioned there, the script runs fine in the Mechanical Scripting tab. But when I use it as a Python Code object, I get a script error. Can anyone please help me understand why this is happening?
What the code does is that it loops through every solution object mentioned in the list "ResultsOfInterest" for the number of timesteps I have. It collects the result values and writes them to the CSV file. But this happens only when the code is executed in Mechanical Scripting. If I try to execute this script in a Python Code object, the code somehow remains stuck on the first time step of the 1st solution in the list. It does not move beyond that.
Below is the script error I receive.
Can anyone please help me with this?
Regards,
Akshay