expected Surface, got Path

IVilla
IVilla Member Posts: 2
First Comment Name Dropper
**
edited August 2023 in Structures

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