noderangestep_i#

model.noderangestep_i(p0: int, p1: int, p2: int) int#

Sets the IJK range and step for a structured part.

To speed interactive operations on structured data sets, only a portion of the model can be loaded. At a later point the entire model can be loaded.
Args:
p0:

‘val1’ minimum I, J, K coordinate

p1:

‘val2’ maximum I, J, K coordinate

p2:

‘val3’ I, J, K stride

Examples:
# partial load a structured Plot3D part
ensight.data_partbuild.data_type("structured")
ensight.data_partbuild.select_begin(1)
ensight.data_partbuild.domain("all")
ensight.data_partbuild.noderange_i(1,40)
ensight.data_partbuild.noderange_j(1,63)
ensight.data_partbuild.noderange_k(1,45)
ensight.data_partbuild.nodestep(10,1,1)
ensight.data_partbuild.nodedelta(0,0,0)
ensight.data_partbuild.description("partial grid")
ensight.data_partbuild.create()
ensight.data_partbuild.end()
ensight.part.select_all()
ensight.part.modify_begin()
# load every other i coordinate
ensight.model.noderangestep_i(1,40,2)
ensight.model.noderangestep_j(1,63,1)
ensight.model.noderangestep_k(1,45,1)
ensight.part.modify_end()
ensight.part.modify_begin()
# load all i coordinates
ensight.model.noderangestep_i(1,80,1)
ensight.model.noderangestep_j(1,63,1)
ensight.model.noderangestep_k(1,45,1)
ensight.part.modify_end()
Returns:

zero on success, non-zero on error