emit_at_current_time#
- ptrace.emit_at_current_time(p0: str) int #
Sets the emission time for a particle trace to be current time when the particle trace is created. The particle trace is also updated whenever time is changed.
While this flag is ON, the “ptrace: start_time” is not used.- Args:
- p0:
‘toggle’
ON
OFF
- Examples:
# # Selecting the parent part # ensight.part.select_begin(1) # # Setting some attributes before creation # (the emit_at_current_time flag is being set here) # ensight.ptrace.begin() ensight.ptrace.variable("VITESSE") ensight.ptrace.type("streamline") ensight.ptrace.component(1.0000e+00,1.0000e+00,1.0000e+00) ensight.ptrace.representation("line") ensight.ptrace.emit_at_current_time("ON") ensight.ptrace.end() # # Creating trace from a point # ensight.ptrace.create_pt()
- Returns:
zero on success, non-zero on error