modify_netemit_points#

ptrace.modify_netemit_points(p0: int, p1: int, p2: int) int#

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

Args:
p0:

‘emitter’ emitter number (0-based)

p1:

‘new_num_in_x’ desired new number of emission points for the grid x direction.

p2:

‘new_num_in_y’ desired new number of emission points for the grid y direction

Examples:
#
# Selecting an existing particle trace part
# (which contains some net emitters)
#
ensight.part.select_begin(3)
#
# Changing the number of points in the
# first 2 net emitters (emitters 0 and 1)
# to 5 x 6, and 9 x 15 respectively
#
ensight.ptrace.modify_netemit_points(0,5,6)
ensight.ptrace.modify_netemit_points(1,9,15)
Returns:

zero on success, non-zero on error