How do I get analysis steps end times in Mechanical

Options
Mike.Thompson
Mike.Thompson Member, Employee Posts: 290
First Anniversary First Comment 5 Likes Ansys Employee

You can do it in two ways:

`#Get step end times 2 ways
Analysis = Model.Analyses[0]

print Analysis.StepsEndTime

AS = Analysis.AnalysisSettings
EndTimes = [AS.GetStepEndTime(i) for i in range(1, AS.NumberOfSteps+1)]
print EndTimes`

Tagged:

Answers