symmetry_type#

frame.symmetry_type(p0: str) int#

Sets the type of periodic symmetry to apply to parts attached to the frame.

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:

‘options’

  • mirror

  • rotational

  • translational

  • non

Examples:
ensight.frame.select_begin(1)
ensight.frame.modify_begin()
ensight.frame.symmetry_type("rotational")
ensight.frame.symmetry_angle(3.5000e+01)
ensight.frame.symmetry_rinstances(2)
ensight.frame.symmetry_use_file("OFF")
ensight.frame.modify_end()
Returns:

zero on success, non-zero on error