default_emit_net#

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

Set the default number of x and y grid points for net emitters, and sets the user interface Emit From option to be Plane.

Mainly used to set the default “Emit From” option in the user interface, but also sets the default number of x and y grid points. Any subsequent particle traces created using a net will use this unless changed specifically.
Args:
p0:

‘num_in_x’ number of emission points to be the default for x direction of net

p1:

‘num_in_y’ number of emission points to be the default for y direction of net

Examples:
#
# Set the default number of emission points
# for nets to be 10 x 12 in this case
#
ensight.ptrace.default_emit_net(10,12)
Returns:

zero on success, non-zero on error