run_to#

anim_keyframe.run_to(p0: int) int#

Sets the first/last keyframe to use for playback.

When creating an animation with many keyframes, it is often helpful to play back a smaller range of keyframes instead of the entire animation. The value must be between 1 and the number of keyframes. The “run_from” frame must be less than or equal to the “run_to’ frame.
Args:
p0:

‘keyframe_num’ beginning/ending keyframe

Examples:
ensight.anim_keyframe.run_from(2)
ensight.anim_keyframe.run_to(3)
ensight.anim_keyframe.run()
Returns:

zero on success, non-zero on error