expected Surface, got Path
Greetings
I am trying to generate automated linearized equivalent stress results with the following script (I recorded the steps and it automatically generated the script), issue is that when I try to assign a path in the result properties, it throws me the error message that a surface is expected and I am feeding a path, but Linearized Equivalent Stress will only take a path to produce the results.
solution_25 = DataModel.GetObjectById(25)
linearized_equivalent_stress_718 = solution_25.AddLinearizedEquivalentStress()
path_686 = DataModel.GetObjectById(686)
linearized_equivalent_stress_718.Surface = path_686
Hope someone has worked this out and can assist me,
Thank You a bunch in advance,
Regards,
IVillase
Answers
-
Hi @IVilla , I think the issue you're facing is the same as this one: https://discuss.ansys.com/discussion/2452/adding-path-to-equivalent-stress-pymechanical
1 -
Hello @Pernelle Marone-Hitz I deeply appreciate your help, the thread you suggested and the content therein really help me out to solve the issue I was facing!
Regards,
IVilla
1