max_time#
- anim_traces.max_time(p0: float) int #
Specify the maximum particle duration.
Used in conjunction with “anim_traces: set_max_time ON”.- Args:
- p0:
‘time_value’ time at which to end the animated trace
- 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() # # End trace animation at .5 # ensight.anim_traces.set_max_time("ON") ensight.anim_traces.max_time(5.0000e-01)
- Returns:
zero on success, non-zero on error