save_win_size#
- anim_flipbook.save_win_size(p0: int, p1: int) int #
Specify the x and y window dimensions of the flipbook animation images.
Only applicable with command option “anim_flipbook: save_win_type user_defined”.- Args:
- p0:
‘x_size’ x window size, or width of the window, in screen coordinates
- p1:
‘y_size’ y window size, or height of the window, in screen coordinates
- Examples:
# # Set the recording image format to sgi RGB # ensight.file.image_format("sgi_rgb") # # Record each page of the flipbook of main graphics window size # into a file named "demo_ipage.rgb" where "ipage" is the page # number of the animation. # ensight.anim_flipbook.save_win_type("user_defined") ensight.anim_flipbook.save_win_size(320,240) ensight.anim_flipbook.save_images("demo")
- Returns:
zero on success, non-zero on error