How can I add a shear stress result through scripting?

Pernelle Marone-Hitz
Pernelle Marone-Hitz Member, Moderator, Employee Posts: 871
100 Answers 500 Comments 250 Likes First Anniversary
✭✭✭✭
edited June 2023 in Structures

How can I add a shear stress result through scripting ?

Tagged:

Answers

  • Pernelle Marone-Hitz
    Pernelle Marone-Hitz Member, Moderator, Employee Posts: 871
    100 Answers 500 Comments 250 Likes First Anniversary
    ✭✭✭✭
    Answer ✓

    One can use:

    solu=ExtAPI.DataModel.Project.Model.Analyses[0].Solution # reference solution
    
    newRes = solu.AddShearStress() # add shear stress result
    
    newRes.ShearOrientation=ShearOrientationType.XZPlane # select orientation