record#

anim_recorders.record(p0: str) int#

Records the keyframe animation to an external file(s).

Args:
p0:

‘toggle’

  • ON

  • OFF

Examples:
ensight.anim_keyframe.keyframing("ON")
ensight.anim_keyframe.create_keyframe()
ensight.view_transf.rotate(0.0,90.0,0.0)
ensight.anim_keyframe.create_keyframe()
ensight.file.image_format("envideo")
ensight.anim_recorders.file_prefix("./my_animation")
ensight.anim_recorders.record("ON")
ensight.anim_keyframe.run()
Returns:

zero on success, non-zero on error