end#

ptrace.end() int#

Delimit the modifications for particle trace attributes.

These commands are used to set the attributes for particle trace part creation.
Args:
p0:

‘ptrace_command’ any of the various attribute changing “ptrace:” commands

Examples:
#
# Selecting the parent part
#
ensight.part.select_begin(1)
#
# Setting some attributes before creation
#
ensight.ptrace.begin()
ensight.ptrace.type("streamline")
ensight.ptrace.component(1.0000e+00,1.0000e+00,1.0000e+00)
ensight.ptrace.representation("line")
ensight.ptrace.end()
#
# Creating trace from a point
#
ensight.ptrace.create_pt()
Returns:

zero on success, non-zero on error