save_win_type#

anim_flipbook.save_win_type(p0: str) int#

Specify the size of the window/image into which to play/record the flipbook animation.

Args:
p0:

‘type’

  • normal

  • full

  • detached display

  • user_defined

  • NTSC

  • PAL

  • HD720p

  • HD1080p

  • DVDNTSC

  • DVDPAL

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