line_width#
- anim_traces.line_width(p0: float) int #
Specify line width of the animated trace segments for the selected particle trace part(s).
- Args:
- p0:
‘width_value’ width of the animated trace line segments (default = 2)
- 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 line width to be 3 # ensight.anim_traces.line_width(3.0000e+01)
- Returns:
zero on success, non-zero on error