plot3ddimension#

data.plot3ddimension(p0: str) int#

When the format is plot3d, specifies the dimensionality of the data.

EnSight attempts to determine the dimensionality of plot3d data, if this command is not given.
It must be specified before a “data: read” command is given.
Args:
p0:

‘dimension’

  • The dimensionality of the data and must be one of:

  • 1d

  • 2d

  • 3d

Examples:
#
# Read a 3D plot3d file and extract a part.
#
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/tmp")
ensight.data.geometry("shuttle.xyz")
ensight.data.result("shuttle.q")
ensight.data.read()
ensight.data_partbuild.begin()
ensight.data_partbuild.data_type("structured")
ensight.data_partbuild.select_begin(1)
ensight.data_partbuild.domain("all")
ensight.data_partbuild.noderange_i(1,52)
ensight.data_partbuild.noderange_j(1,63)
ensight.data_partbuild.noderange_k(1,1)
ensight.data_partbuild.nodestep(1,1,1)
ensight.data_partbuild.nodedelta(0,0,0)
ensight.data_partbuild.create()
Returns:

zero on success, non-zero on error