reflect_model_in#

case.reflect_model_in(p0: str) int#

Specify whether to apply a mirror transform when adding a new case.

The reflection transform occurs about the point specifies via the “reflect_model_origin” command.
Args:
p0:

‘option’ Includes the following options:

p1:

‘option’ ‘none’

p2:

‘option’ ‘X’

p3:

‘option’ ‘Y’

p4:

‘option’ ‘Z’

p5:

‘option’ ‘X’’Y’

Examples:
ensight.case.create_viewport("ON")
ensight.case.apply_context("OFF")
ensight.case.reflect_model_in("'Z'")
ensight.case.add("Case 2")
ensight.case.select("Case 2")
ensight.viewport.select_begin(1)
Returns:

zero on success, non-zero on error