save_context_type#

file.save_context_type(p0: str) int#

Can specify the desired case to use, or all cases, when saving a context file.

Args:
p0:

‘all_cases’ A context file will be saved for each case

p1:

‘current_case’ A context file will be saved for the current case

Examples:
ensight.file.save_context_type("all_cases")
ensight.file.save_context("myfile.ctx")
Returns:

zero on success, non-zero on error