y_max#

anim_screens.y_max(p0: int) int#

Specifies the right x/y coordinate of the keyframe animation window during playback.

The range is 0 to maximum graphics resolution - 1.
Args:
p0:

‘coord’ screen coordinate of the left (x_min), right (x_max), bottom (y_min) and top (y_max)

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