timeset_between#
- solution_time.timeset_between(p0: str) int #
When the current time lies between the steps of a given timeset, this command sets how to handle the situation in the span.
- Args:
- p0:
‘method’
undefined
interpolate
nearest
left
right
- Examples:
# # Selecting the timeset # ensight.solution_time.timeset_select(2) # # Setting the timeset span handling methods # (Note that we will interpolate if between) # 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