head_type#

anim_traces.head_type(p0: str) int#

Specify the type of head for each animated trace segment for the selected particle trace part(s).

The following commands help control the size of the sphere at the head of each animated particle trace.
anim_traces: head_detail
anim_traces: head_scale
anim_traces: head_size_by
Args:
p0:

‘option’ none

p1:

‘option’ arrow

p2:

‘option’ sphere

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 animated trace segment head type to spheres 
# 
ensight.anim_traces.head_type("sphere")
Returns:

zero on success, non-zero on error