head_detail#
- anim_traces.head_detail(p0: float) int #
Specifies the detail-level of the head representation of all animated traces of the selected particle trace part(s).
Not applicable when head type is none. Higher detail levels take longer to draw; thus, slowing performance.- Args:
- p0:
‘detail_value’ The detail-level of the head of all animated traces in range I[2,10] with 10 being the most detailed (default = 3.). The higher the detail level, the rounder the sphere head
- 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") ensight.anim_traces.head_detail("4.0000+e00")
- Returns:
zero on success, non-zero on error