How to add Solve Commands to all or selected time steps with GetSolveCommands?
XML:
<getsolvecommands timeDependent="true">AddSolveCommands</getsolvecommands>
Python:
def AddSolveCommands(load, step, stream): return
I recommend using the callback GetCommands and location = solve
This will also pass the IsolverData object to the callback that tracks the current step number as well as access to lots of useful info.