Rohith Patchigolla
Ansys Employee

Hello Elena, 

Please test your script first in the mechanical scripting console to make sure sif_table is correctly extracted before writing it out to the csv file. 

From my understanding, these two lines are incorrect. Please check. For example, SIFResult Data Model Object Category doesn't exist. 

if result.DataModelObjectCategory == DataModelObjectCategory.SIFResult:  # Check if it’s a stress intensity factor result

sif_table = result.Tables.FindObject(“Stress Intensity Factor K1”)

Please let me know what was the source of the above lines to check if I am missing something. 

Best regards,

Rohith