Erik Kostson
Ansys Employee

This can be done directly via Scripting and does not use a Python Code object.

 

See here how it is done:

 

https://discuss.ansys.com/discussion/4384/how-to-change-and-set-up-multiple-steps-via-scripting

It has been tested and worked on 100 steps