Take a look at some of the logic parts in the supplied libraries. You will see how it's done and can then implement the function into your parts.
Essentially gates or pins with the same swap number, can be swapped.
I managed to edit the part through Pads and have been able to swap gates on all subsequent instances of that part. It works well.
My only problem now is back-annotating those changes to the schematic. I get a warning saying I have to manually connect the nets
to the new places in DxDesigner. I dont understand why the changes dont come through. The nets in question connect components on
different sheets of the same schematic so there are only off-sheet connectors connected to the net (as well as the appropriate component).
Shoulding Pads/DxDesigner be able to simply change the name of the net connected to a component whose nets have been swapped?
It seems like changing the gate RefDes would be easier than changing the nets.
DxDesigner isn't really "native" to Layout so I'm not suprised if it doesn't do gate/pin swaps.