sub_frames#

anim_keyframe.sub_frames(p0: int, p1: int, p2: int) int#

Sets the number of in-between frames between keyframes key1 and key2.

key1 and key2 must be consecutively keyframes.
Args:
p0:

‘key1’ specifies the starting keyframe

p1:

‘key2’ specifies the ending keyframe (must be key1 + 1)

p2:

‘subframes’ specifies the number of in-between frames between key1 and key2

Examples:
ensight.anim_keyframe.keyframing("ON")
ensight.anim_keyframe.create_keyframe()
ensight.view_transf.zoom(0.561365)
ensight.anim_keyframe.create_keyframe()
ensight.anim_keyframe.sub_frames(1,2,30)
ensight.anim_keyframe.run()
Returns:

zero on success, non-zero on error