timeset_leftof#

solution_time.timeset_leftof(p0: str) int#

When the current time lies before the beginning step of a given timeset, this command sets how to handle the situation.

The geometry and each variable can be specified according to its own timeset, with different beginning and ending times and number of steps. These timesets are combined into the solution time range in the solution dialog. But, with this general capability comes the need to know what to do when a current time lies outside the extents of, or between the steps of a given timeset.
Args:
p0:

‘method’

  • undefined

  • nearest

Examples:
#
# Selecting the timeset
#
ensight.solution_time.timeset_select(2)
#
# Setting the timeset span handling methods
# (Note that we will treat as undefined if left of)
#
ensight.solution_time.timeset_leftof("undefined")
ensight.solution_time.timeset_between("interpolate")
ensight.solution_time.timeset_rightof("nearest")
#
# Update timesets and model display
#
ensight.solution_time.timeset_update()
Returns:

zero on success, non-zero on error