symmetry_mirror_xy#

frame.symmetry_mirror_xy(p0: str) int#

Sets the flag for mirror symmetry in the x / y / z / xy / yz / xz / xyz directions.

Since modification of frame symmetry attributes typically need more than one attribute change before being able to properly perform the option, one typically should encase the attribute lines between frame: modify_begin and frame: modify_end commands.
Args:
p0:

‘toggle’

  • ON

  • OFF

Examples:
ensight.frame.select_begin(1)
ensight.frame.modify_begin()
ensight.frame.symmetry_type("mirror")
ensight.frame.symmetry_mirror_x("ON")
ensight.frame.symmetry_mirror_z("ON")
ensight.frame.symmetry_mirror_y("ON")
ensight.frame.symmetry_mirror_xy("OFF")
ensight.frame.symmetry_mirror_yz("OFF")
ensight.frame.symmetry_mirror_xz("OFF")
ensight.frame.symmetry_mirror_xyz("OFF")
ensight.frame.modify_end()
Returns:

zero on success, non-zero on error