Erik Kostson
Ansys Employee



First of all try it in 2022 R2.


Now if it does not work then the below works in 2022 R2 (not on previous versions):


One way to do this is to run a python script from workbench (wb) – go to workbench->file->scripting->run script file … and choose the script (say that contains say the following sample code to save some results to text file (you need to change it as needed, and it is outisde the help I can provide to adjust it to your needs – perhaps other users can help with that if needed – the below assumes you have only on system in the project, so you might need to account for that – to learn more about wb scripting you can record them in wb):


res=ExtAPI.DataModel.GetObjectsByName(“Total Deformation”)[0]
system1 = GetSystem(Name=”SYS”)
model1 = system1.GetContainer(ComponentName=”Model”)
model1.SendCommand(Language=”Python”, Command=cmd)