geometry#

data.geometry(p0: str) int#

Set the name for the file containing geometric information.

The filename is concatenated with the path defined via the “data: path” command.
The meaning of “geometry” is different depending on the data format. For example, if the format is CASE, the “geometry” file is the case file, while if the format is ANSYS, the file refers to the ANSYS result file.
Args:
p0:

‘filename’ geometry file name

Examples:
ensight.data.binary_files_are("big_endian")
ensight.data.format("case")
ensight.data.geometry("cube.case")
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