variable#

savegeom.variable(p0: str) int#

Specify the name of the variable to save when using brick format.

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

‘var_name’ variable name

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