set_timestep#

Reader.set_timestep(timestep: int, timeset: int = 0) None#

Change the current time to the specified timestep. This call is the same as: reader.set_timevalue(reader.timevalues()[timestep]). The default timeset selected is the merged “common” timeset 0. If the “common” timeset is used, the appropriate time value will be set for all timesets by this method.

Parameters:
timestepint

The timestep to change to.

timesetint, optional

The timeset to change (default is 0)