hold#
- anim_keyframe.hold(p0: int, p1: int) int #
Sets the number of frames to display for a keyframe.
- Args:
- p0:
‘keyframe’ keyframe to control
- p1:
‘num_frames’ display this many frames
- Examples:
ensight.anim_keyframe.keyframing("ON") ensight.anim_keyframe.create_keyframe() ensight.view_transf.rotate(-84.910713,-3.917774,0.000000) ensight.view_transf.function("global") ensight.view_transf.rotate(13.660716,39.395405,0.000000) ensight.view_transf.function("global") ensight.anim_keyframe.create_keyframe() ensight.anim_keyframe.hold(1,10) ensight.anim_keyframe.run()
- Returns:
zero on success, non-zero on error