save_current_case#

function.save_current_case(*args, **kwargs) Any#

Save palettes, of active variables of the currently selected case, to a file.

Palettes saved in a file can later be restored.
Note that this command is not generated by EnSight, but can be placed in a command file manually if desired.
Args:
p0:

‘palette_filename’ name of the file containing palette definitions

Examples:
ensight.function.save_current_case("/usr/tmp/allmy.pal")
Returns:

zero on success, non-zero on error