animation_window_xy#

file.animation_window_xy(p0: int, p1: int) int#

Specify resolution of the animation window to save - when using user_defined type.

Applicable only if file: animation_window_size is set to user_defined.
Args:
p0:

‘xres’ window x resolution

p1:

‘yres’ window y resolution

Examples:
ensight.file.image_format("envideo")
ensight.file.animation_file("/tmp/test_animation")
ensight.file.animation_window_size("user_defined")
ensight.file.animation_window_xy(400,300)
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