How can I define autotime stepping algorithm through scripting?
Pernelle Marone-Hitz
Member, Moderator, Employee Posts: 867
✭✭✭✭
Answers
-
The following code can be adapted:
settings = ExtAPI.DataModel.Project.Model.Analyses[0].Children[0] # reference analysis settings settings.Activate() # activate Analysis Settings Object settings.CurrentStepNumber=1 # select active step settings.AutomaticTimeStepping=AutomaticTimeStepping.On # activate algorithm settings.DefineBy=TimeStepDefineByType.Substeps # define by substeps settings.InitialSubsteps=10 # define values settings.MinimumSubsteps=5 settings.MaximumSubsteps=25
2