nodedelta#

data_partbuild.nodedelta(p0: float, p1: float, p2: float) int#

Specify ijk delta value to use when creating more than one ijk surface from the same ijk block. Only one of the deltas may be non-zero.

This command is used for EnSight6, EnSight Gold, and User-Defined data formats.
Args:
p0:

‘i_del’ I, J, K direction delta values

p1:

‘j_del’ I, J, K direction delta values

p2:

‘k_del’ I, J, K direction delta values

Examples:
ensight.data_partbuild.begin()
# 
# Now doing a structured ensight part 
# 
ensight.data_partbuild.data_type("structured")
# 
# Selecting the first part in the 
# structured part building list 
# 
ensight.data_partbuild.select_begin(1)
# 
# Setting ijk ranges, step_by, delta values, etc. 
# and creating it. Note the nodedelta and noderange 
# combination used 
# 
ensight.data_partbuild.domain("inside")
ensight.data_partbuild.noderange_i(1,30)
ensight.data_partbuild.noderange_j(1,1)
ensight.data_partbuild.noderange_k(1,30)
ensight.data_partbuild.nodestep(1,1,1)
ensight.data_partbuild.nodedelta(0,3,0)
ensight.data_partbuild.description("multi_jslice_part")
ensight.data_partbuild.create()
ensight.data_partbuild.end()
Returns:

zero on success, non-zero on error