select_begin#
- data_partbuild.select_begin(*args, **kwargs) Any #
Specify parts, from the part build lists, to use in the part build process.
These commands are used by all iblanked structured formats when doing create_iblank process. They are also used by EnSight6, EnSight Gold, and User-Defined formats when selecting parent parts.- Args:
- p0:
‘partN’ number of the part in the list of available parts in the model data file(s)
- Examples:
ensight.data_partbuild.begin() # # 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. # ensight.data_partbuild.domain("inside") ensight.data_partbuild.noderange_i(1,3) ensight.data_partbuild.noderange_j(1,3) ensight.data_partbuild.noderange_k(1,3) ensight.data_partbuild.nodestep(1,1,1) ensight.data_partbuild.nodedelta(0,0,0) ensight.data_partbuild.description("my_inside_part") ensight.data_partbuild.create() ensight.data_partbuild.end()
- Returns:
zero on success, non-zero on error