symmetry_mirror_y#

part.symmetry_mirror_y(p0: str) int#

Set the flag for visual symmetry mirror images of currently selected parts in the x / y / z / xy / yz / xz / xyz directions.

The part is reflected about the frame that it is assigned to (part: ref_frame)
Args:
p0:

‘toggle’

  • ON

  • OFF

Examples:
ensight.part.select_begin(1)
ensight.part.modify_begin()
ensight.part.symmetry_mirror_x("ON")
ensight.part.symmetry_mirror_y("ON")
ensight.part.symmetry_mirror_xy("ON")
ensight.part.symmetry_mirror_xyz("ON")
ensight.part.modify_end()
Returns:

zero on success, non-zero on error