binary_files_are#

data.binary_files_are(p0: str) int#

Sets the byte (endian) order for binary geometry, result, and measured data files.

EnSight assumes that the geometry, result, and measured data files are of the same byte order.
Must be specified before a “data: read” command.
Args:
p0:

‘endian_order’

  • The endian order for the binary files and must be one of:

  • little_endian

  • big_endian

  • native

Examples:
ensight.sendmesgoptions(version="8.20")
ensight.data.binary_files_are("big_endian")
ensight.data.format("ensight")
ensight.data.path("/usr/tmp")
ensight.data.geometry("ski_c.geo")
ensight.data.result("ski_c.res")
ensight.data.read()
Returns:

zero on success, non-zero on error