sync_to_transient#

anim_traces.sync_to_transient(p0: str) int#

Toggles on/off synchronization of animated tracer position to solution time of transient data.

Only applicable with transient data cases. (See “solution_time: current_step” and “solution_time: update_to_current”.)
Args:
p0:

‘toggle’

  • ON

  • OFF

Examples:
# 
# Set the 
# 
ensight.solution_time.current_step(4.0000e+01)
ensight.solution_time.update_to_current()
# 
# 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 off synchronization with transient data 
# 
ensight.anim_traces.sync_to_transient("OFF")
Returns:

zero on success, non-zero on error