animation_frames#

file.animation_frames(p0: int) int#

Specify the number of frames to save when recording an animation.

Args:
p0:

‘number_of’ number of frames to save

Examples:
ensight.file.image_format("envideo")
ensight.file.animation_file("/tmp/test_animation")
ensight.file.animation_window_size("NTSC")
ensight.file.animation_window_xy(640,480)
ensight.file.animation_frames(20)
ensight.file.animation_multiple_images("OFF")
ensight.file.animation_reset_flipbook("ON")
ensight.file.animation_reset_traces("OFF")
ensight.file.animation_reset_time("ON")
ensight.file.save_animation()
Returns:

zero on success, non-zero on error