resolution#

savegeom.resolution(p0: int, p1: int, p2: int) int#

Specify the Brick of Values resolution in the x, y, and z directions.

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

‘x’ x, y, z direction resolution

p1:

‘y’ x, y, z direction resolution

p2:

‘z’ x, y, z direction resolution

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