read#
- data.read() int #
Read the geometry, result, and/or measured data files.
The geometry and/or result and/or measured data file names must be set before making this call.- Examples:
# # Read a geometry and associated result file and create a part. # ensight.data.format("ensight") ensight.data.path("/usr/tmp") ensight.data.geometry("cube.geom") ensight.data.result("cube.res") ensight.data.read() ensight.data_partbuild.begin() ensight.data_partbuild.data_type("unstructured") ensight.data_partbuild.select_begin(1) ensight.data_partbuild.create() ensight.data_partbuild.end()
- Returns:
zero on success, non-zero on error