add_file#

ptrace.add_file(p0: str) int#

Adds emitters (and thus more traces) to the current particle trace part(s) according to the time and locations as defined in the file.

Args:
p0:

‘filename’ The name of the emitter file

Examples:
#
# Add emitters to a currently defined particle trace part 3
# 
#
ensight.part.select_begin(3)
ensight.ptrace.add_file("/tmp/emitter.file")
Returns:

zero on success, non-zero on error