• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Allegro X Scripting - Skill
  3. Getting XY location of Pin

Stats

  • State Suggested Answer
  • Replies 2
  • Answers 1
  • Subscribers 18
  • Views 3378
  • Members are here 0
More Content

Getting XY location of Pin

karthikeyank
karthikeyank over 2 years ago

Hi,

I wrote a code for finding missing fanouts in that code i would like to generate Pin XY location in report but its returning nil. can anyone help me to get XY location of pin.

code:

foreach(net (axlDBGetDesign)->nets
when(net->unconnected>0
(NetPinCnt = 0)
foreach(branch (net->branches)
(PinList = setof(c (branch->children) ((c->objType) == "pin")))
(ViaList = setof(c (branch->children) ((c->objType) == "via")))
(NetPinCnt = NetPinCnt + length(PinList))
when(eq(0 length(ViaList))
if(SmdOnly then
(ViaList = setof(c PinList ((c->isThrough) == t)))
when(eq(0 length(ViaList))
fprintf(port, "%-18L\n", PinList ->xy) <---------------------------------------
axlHighlightObject(PinList t)
print(PinList ->xy)
(PinCnt=PinCnt+length(PinList))
)
else
(ViaList = setof(c PinList ((c->isThrough) == t)))
when(eq(0 length(ViaList))
fprintf(port, "%-18L\n", PinList ->xy) <--------------------------------------
axlHighlightObject(PinList t)
print(PinList ->xy)
(PinCnt=PinCnt+length(PinList))
)
)
)
)
when(and(eq(1 NetPinCnt) SmdOnly)
axlDehighlightObject(PinList t)
PinCnt--
)
)
)

  • Cancel
  • Sign in to reply
  • mahimag
    0 mahimag over 2 years ago

    Hi, I could get the pin coordinates by replacing PinList ->xy with PinList~>xy.
    "~>" can handle a list on the left-hand side.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • mcatramb91
    0 mcatramb91 over 2 years ago

    Hello,

    There is a SKILL Routine available that will highlight missing pin escapes (fanouts) in the Allegro PCB Editor SKILL Code Library

    Here is a direct link to the SKILL Code page: SKILL to highlight missing pin escapes

    Hope this helps,
    Mike Catrambone

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information