I want to swap pin (change only x y position of pin, pin number and pin name remain unchanged) in the same component together.
This my code but it not work, can someone check where i made a mistake:
println("PLEASE SELECT 1ST PIN")
first_pin = car(axlGetSelSet())
first_xy = (car(axlGetSelSet())->xy)
axlClearSelSet()
println("PLEASE SELECT 2ND PIN")
second_pin = car(axlGetSelSet()
second_xy = (car(axlGetSelSet())->xy)
axlClearSelSet()
axlCompMovePin(first_pin , ?move second_xy)
axlCompMovePin(second_pin , ?move first_xy)