create_file#
- ptrace.create_file(p0: str) int #
Create particle traces from the current location of the line tool.
- Args:
- p0:
‘filename’ The name of the emitter file
- Examples:
# # Create particle traces through part 1 by releasing # emitters as defined in the given file # ensight.part.select_begin(1) ensight.ptrace.begin() ensight.ptrace.variable("VITESSE") ensight.ptrace.type("streamline") ensight.ptrace.create_file("/tmp/emitter.file")
- Returns:
zero on success, non-zero on error