delta#

clip.delta(*args, **kwargs) Any#

Set a delta transform for use with the keyframe animator.

Applies only to line and plane clip types.
Args:
p0:

‘dx’ amount to translate in x direction for each animation frame

p1:

‘dy’ amount to translate in y direction for each animation frame

p2:

‘dz’ amount to translate in z direction for each animation frame

Examples:
#
# Select an existing clip part
#
ensight.part.select_begin(3)
ensight.part.modify_begin()
#
# Increment the clip position by 0.2 in the x-direction
#
ensight.clip.delta(.2,0,0)
ensight.part.modify_end()
ensight.anim_keyframe.keyframing("ON")
ensight.anim_keyframe.create_keyframe()
ensight.anim_keyframe.create_keyframe()
ensight.anim_keyframe.run()
Returns:

zero on success, non-zero on error