How can I create a user-defined result through scripting?
Pernelle Marone-Hitz
Member, Moderator, Employee Posts: 859
✭✭✭✭
Answers
-
Below is an example:
# store link to solution solu=ExtAPI.DataModel.Project.Model.Analyses[0].Solution # add UDR newUDR = solu.AddUserDefinedResult() # define expression newUDR.Expression="UX" # change display time newUDR.DisplayTime = Quantity('1 [sec]') # evaluate newUDR.EvaluateAllResults()
4