How can I with mechanical scripting add say stress and displacement results into a folder group?
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"