measured#

data.measured(p0: str) int#

Specify the name for the measured particle file.

The filename is concatenated with the path defined via the “data: path” command.
It is not possible to read a measured file without also specifying a geometry file, or having specified a geometry file previously.
When specified, the part containing the measured particle data will be generated upon a “data: read” command, i.e., this part type will not be shown in the various part loaders.
Args:
p0:

‘filename’ measured file name

Examples:
# Read a geometry file and a measured particle file and create a part.
ensight.data.format("ensight")
ensight.data.path("/usr/tmp")
ensight.data.geometry("cube.geom")
ensight.data.measured("cube.mres")
ensight.data.start_time(1)
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