symmetry_type#

part.symmetry_type(p0: str) int#

Turn on symmetry display.

Args:
p0:

‘sym_type’

  • mirror

  • rotational

  • none

Examples:
ensight.part.select_begin(1)
ensight.part.modify_begin()
#
# turn on rotational symmetry about the x axis
# use 4 instances rotated 90 degrees
#
ensight.part.symmetry_type("rotational")
ensight.part.symmetry_axis("x")
ensight.part.symmetry_rinstances(4)
ensight.part.symmetry_angle(90.)
ensight.part.modify_end()
Returns:

zero on success, non-zero on error