end_step#

solution_time.end_step(p0: int) int#

Sets the time step to be used as the beginning/ending time step for subsequent time use.

This is used when the “solution_time: show_as” command is set to “step”.
Can be greater/lesser or equal to the smallest/largest time step available.
Args:
p0:

‘step’ time step to use as the beginning/ending time step

Examples:
#
# This sets several of the attributes using time steps
#
ensight.solution_time.show_as("step")
ensight.solution_time.update_type("discrete")
ensight.solution_time.begin_step(0)
ensight.solution_time.end_step(16)
ensight.solution_time.current_step(0)
ensight.solution_time.update_to_current()
ensight.solution_time.number_of_cycles(1)
ensight.solution_time.increment(1.0000e+00)
Returns:

zero on success, non-zero on error