How to create results and group them in Mechanical
Erik Kostson
Member, Moderator, Employee Posts: 287
✭✭✭✭
How can I with mechanical scripting add say stress and displacement results into a folder group?
0
Best Answer
-
Below is a sample script that does that:
resgr=[] solution = ExtAPI.DataModel.Project.Model.Analyses[0].Solution directional_deformation = solution.AddDirectionalDeformation() equivalent_stress = solution.AddEquivalentStress() resgr.append(equivalent_stress) resgr.append(directional_deformation) folder1 = ExtAPI.DataModel.Tree.Group(resgr) folder1.Name = "My folder"
0
This discussion has been closed.