noderange_k#
- data_partbuild.noderange_k(p0: float, p1: float) int #
Specify i, j, or k range values to use when creating a part.
This command is used for EnSight6, EnSight Gold, and User-Defined data formats.- Args:
- p0:
‘beg’ I, J, or K range beginning node plane
- p1:
‘end’ I, J, or K range ending node plane
- 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