For the Analysis Settings object, you can Get or Set the step-dependent properties of certain object categories without changing the current step number. This includes the Step Controls, Nonlinear Controls, and the Output Controls categories, as described below, of the Details properties of the object.
- Step Controls
For the Step Controls, you can modify all of the properties without the need to change the Current Step Number property.
- Nonlinear Controls
For the Nonlinear Controls category, you can modify the various convergence properties that are "step aware" (can vary per step) as well as Stabilization.
- Output Controls
For the Output Controls category, you can modify the Store Results At property and its accompanying Value property.
Note: Review the Analysis Settings section for the above categories as well as the Steps and Step Controls for Static and Transient Analyses section of the Mechanical User's Guide for additional information about step-based properties and analyses.
Script Access and Examples
The script to access the available properties of the Analysis Settings object:
analysis_settings = Model.Analysis[0].AnalysisSettings
This example modifies the Auto Time Stepping property.

This example modifies the Force Convergence property and sets its corresponding Value and Tolerance properties.

This example modifies the Store Results At property and sets its corresponding Value property.
