“set_symmetry” defines or redefines the crystal and spacegroup parameters for a molecule or map object.
set_symmetry selection, a, b, c, alpha, beta, gamma, spacegroup
The new symmetry will be defined for every object referenced by the selection.
cmd.set_symmetry | commands