delete#

case.delete(p0: str) int#

Delete the currently selected case dataset from your current EnSight session.

By default the new case names are called “Case #” where the # is the next available case # - 1 based.
Args:
p0:

‘case_id’ id of the new case (see Notes below)

Examples:
#
# select case 2 for deletion
#
ensight.case.select("2")
#
# delete case 2
#
ensight.case.delete("2")
#
# select case 1 as current, or default
#
ensight.case.select("1")
Returns:

zero on success, non-zero on error