timeline_delete#

anim_keyframe.timeline_delete(p0: int) int#

Delete a timeline.

Args:
p0:

‘timeline’ timeline number to delete

Examples:
#
# turn on keyframing and create 4 keyframes 
#
ensight.anim_keyframe.keyframing("ON")
ensight.anim_keyframe.create_keyframe()
ensight.anim_keyframe.create_keyframe()
ensight.anim_keyframe.create_keyframe()
ensight.anim_keyframe.create_keyframe()
#
# transient data (and timelines) will be used during the animation
#
ensight.anim_keyframe.use_transient_data("ON")
#
# 
ensight.anim_keyframe.timeline_new()
ensight.anim_keyframe.timeline_select(2)
#
# This timeline goes from keyframe 3 to 4
#
ensight.anim_keyframe.timeline_start_keyframe(3)
ensight.anim_keyframe.timeline_end_keyframe(4)
#
# delete the first timeline
#
ensight.anim_keyframe.timeline_delete(1)
Returns:

zero on success, non-zero on error