Sometimes a ligand is placed more or less in the correct position, but the orientation is wrong - or at least you might want to explore other possible orientation. To do that easily a function has been provided:
(flip-ligand imol chain-id residue-number)
This will flip the orientation of the residue around the Eigen vector corresponding to the largest Eigen value, exploring 4 possible orientations.
This function has been further wrapped to provide flipping for the active residue:
(flip-active-ligand)
This function can easily be bound to a key.