This is done in the schematic part symbol editor (i.e.OrCad). Originally posted in cdnusers.org by lcotten
1.Bring up the part for editing (usually from within the library).
2.Select "Pacakge" from the "view" menu.
3.Select "Properties" from the "edit" menu.
4. The column labeled "pin group" is actually the pin swap id. Use numbers from "1" up. Pins with the same number will we swappable with eachother.
On homogenous multipart parts like a quad AND gate, the two AND inputs of all four gates will be 1, as each gate is a separate part.
The help files sort of cover this. Look in the capture help index for "pin swapping for allegro"