multiple_pulses#

anim_traces.multiple_pulses(p0: str) int#

Toggles on/off multiple emission of animated traces for the selected particle trace part(s).

Not applicable to pathlines. The pulse interval is controlled via the “anim_traces: pulse_interval” command.
When ON, will start a set of animated traces every <time_value> time units (as specified via the “pulse_interval” command).
Args:
p0:

‘toggle’

  • ON

  • OFF

Examples:
# 
# Select the particle trace part(s) to animate 
# 
ensight.part.select_begin(2)
# 
# Toggle off the visibility of the selected particle trace part(s), and 
# animate them. 
# 
ensight.part.modify_begin()
ensight.part.visible("OFF")
ensight.ptrace.animate("ON")
ensight.part.modify_end()
# 
# Toggle on multiple animated trace pulses 
# 
ensight.anim_traces.multiple_pulses("ON")
ensight.anim_traces.pulse_interval(1.0000e-03)
Returns:

zero on success, non-zero on error