add#

case.add(p0: str) int#

Add another case dataset to 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:
ensight.case.create_viewport("ON")
ensight.case.apply_context("OFF")
ensight.case.reflect_model_in("'none'")
ensight.case.add("Case 2")
ensight.case.select("Case 2")
ensight.viewport.select_begin(1)
Returns:

zero on success, non-zero on error