particle_time#

anim_traces.particle_time(p0: float) int#

Specify the time duration (length) of the animated trace segments.

The particle trace length parameter scales the length of all animated traces at all times.
The animated trace segments will be short when speed is low and long when speed is high.
Args:
p0:

‘time_value’ length in units of time of the animated trace segment

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()
# 
# Specify a animated trace length 
# 
ensight.anim_traces.particle_time(1.0000e-04)
Returns:

zero on success, non-zero on error