brick_format#

savegeom.brick_format(p0: str) int#

Specify the format of the values to write out when using brick format.

Used in conjunction with savegeom: format brick
Args:
p0:

‘option’

  • bytes

  • floats

Examples:
ensight.part.select_all()
ensight.savegeom.format("brick")
ensight.savegeom.brick_format("floats")
ensight.savegeom.resolution(128,128,128)
ensight.savegeom.undefined(-1.2345e-10)
ensight.savegeom.variable("pressure")
ensight.savegeom.save_geometric_entities("/tmp/file_prefix")
Returns:

zero on success, non-zero on error