file_prefix#

anim_recorders.file_prefix(p0: str) int#

Specifies the external file name to use for keyframe animation recording.

The filename can also include an optional directory path. The name is a prefix. A suffix will automatically be added that is based on the animation file format (e.g. ‘.evo’ for EnVideo files)
If a single image format is specified (i.e. PostScript), then a four digit sequence number will be added between the prefix and suffix.
Args:
p0:

‘filename’ animation file name prefix

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")
# record envideo file to /tmp/my_animation.evo
ensight.anim_recorders.file_prefix("/tmp/my_animation")
ensight.anim_recorders.record("ON")
ensight.anim_keyframe.run()
Returns:

zero on success, non-zero on error