Pins with the same swap id are swappable, so when you call PutPinDefinition, use the same string for the second argument.
Thanks - so far I understood this .... but
I do not want to have a pin swap - I want to swap gates ....
As my examples shows I defined one gate
and 2 slots
I want to swap slots and not pins ....