modify_emit_totoolloc#

ptrace.modify_emit_totoolloc(p0: int, p1: int) int#

Change the location of the emitter in a particle trace part.

Args:
p0:

‘part_num’ particle trace part number

p1:

‘emitter’ emitter number (0-based)

Examples:
#
# Change the location of the tool used for the emitter
#
ensight.view_transf.cursor(7.422632,-0.327560,0.000000)
#
# modify the trace emitter based on this tool
# (in this case, it is emitter 0 in part 2
#
ensight.ptrace.modify_emit_totoolloc(2,0)
Returns:

zero on success, non-zero on error