apply_context#

case.apply_context(p0: str) int#

Specify whether to apply context from the initial case when adding another new case.

Args:
p0:

‘toggle’

  • ON

  • OFF

Examples:
ensight.case.create_viewport("ON")
ensight.case.apply_context("ON")
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