Quantcast
Channel: Cadence PCB Skill Forum
Viewing all articles
Browse latest Browse all 2157

How to swap Pin in 1 component

$
0
0

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)


Viewing all articles
Browse latest Browse all 2157


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>