animate#

ptrace.animate(p0: str) int#

Toggles particle trace animation on or off for selected traces.

Args:
p0:

‘toggle’

  • ON

  • OFF

Examples:
#
# Selecting the trace(s) to animate
#
ensight.part.select_begin(7,8)
#
# Turning on the animation for the two selected trace parts
#
ensight.part.modify_begin()
ensight.ptrace.animate("ON")
ensight.part.modify_end()
Returns:

zero on success, non-zero on error