modify_rakeemit_points#

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

Change the number of emission points for a particular rake emitter in a particle trace part.

Args:
p0:

‘emitter’ emitter number (0-based

p1:

‘new_num_pts’ desired new number of emission points along the rake

Examples:
#
# Selecting an existing particle trace part
# (which contains a rake emitter)
#
ensight.part.select_begin(3)
#
# Changing the number of points in the
# first emitter (emitter 0), to 8
#
ensight.ptrace.modify_rakeemit_points(0,8)
Returns:

zero on success, non-zero on error