specify_time_as#

anim_keyframe.specify_time_as(p0: str) int#

Specifies whether time values during transient data animations use simulation time or time step number.

Args:
p0:

‘method’

  • simulation

  • step

Examples:
ensight.anim_keyframe.use_transient_data("ON")
ensight.anim_keyframe.specify_time_as("step")
ensight.anim_keyframe.step_by(2.0000e+00)
ensight.anim_keyframe.cycle("ON")
ensight.anim_keyframe.begin_time_step(2)
ensight.anim_keyframe.end_time_step(15)
ensight.anim_keyframe.run()
Returns:

zero on success, non-zero on error