select_default#

model.select_default() int#

Sets default attribute values for model parts

model commands that follow this one set default values for new model parts loaded at a latter time during the current session.
Examples:
ensight.model.select_default()
ensight.part.modify_begin()
ensight.part.bounding_rep("points")
ensight.part.modify_end()
ensight.part.modify_begin()
# WARNING: following line includes OBSOLETE call (ensight.model.ijk_axis).
ensight.model.ijk_axis("ON")
ensight.part.modify_end()
ensight.data.binary_files_are("big_endian")
ensight.data.format("plot3d")
ensight.data.plot3diblank("OFF")
ensight.data.plot3dmulti_zone("OFF")
ensight.data.plot3dread_as("c_binary")
ensight.data.plot3ddimension("3d")
ensight.data.path("/usr/local/bin/ensight92/data/e7data/plot3d")
ensight.data.geometry("shuttle.xyz")
ensight.data.result("shuttle.q")
ensight.data_partbuild.begin()
ensight.data.read()
ensight.data_partbuild.data_type("structured")
ensight.data_partbuild.select_begin(1)
ensight.data_partbuild.domain("all")
ensight.data_partbuild.noderange_i(1,80)
ensight.data_partbuild.noderange_j(1,63)
ensight.data_partbuild.noderange_k(1,45)
ensight.data_partbuild.nodestep(1,1,1)
ensight.data_partbuild.nodedelta(0,0,0)
ensight.data_partbuild.description("")
ensight.data_partbuild.create()
ensight.data_partbuild.end()
ensight.view_transf.rotate(-2.848098,21.765417,0.000000)
ensight.view_transf.function("global")
Returns:

zero on success, non-zero on error