type#

anim_screens.type(p0: str) int#

Specifies the size of the graphics window to use during keyframe animation playback.

The NTSC window size is 640x480 and corresponds to the size used by US video recording equipment. The PAL window size is 720x576. It is used by most foreign recording equipment. NTSC and PAL sizes have their window origins in the lower left corner of the monitor. user_defined windows can be located anywhere on the monitor.
Args:
p0:

‘size’

  • detached_display

  • full

  • normal

  • NTSC

  • PAL

  • user_defined

  • HD720p

  • HD1080p

  • DVDNTSC

  • DVDPAL

Examples:
#
# This plays a keyframe animation in a 320x200 window.
#
ensight.anim_keyframe.keyframing("ON")
ensight.anim_keyframe.create_keyframe()
ensight.view_transf.zoom(0.561365)
ensight.anim_keyframe.create_keyframe()
ensight.anim_screens.type("user_defined")
ensight.anim_screens.x_min(0)
ensight.anim_screens.x_max(319)
ensight.anim_screens.y_min(0)
ensight.anim_screens.y_max(199)
ensight.anim_keyframe.run()
Returns:

zero on success, non-zero on error