• 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 PCB Editor
  3. Get info from all footprints in library

Stats

  • Replies 7
  • Subscribers 160
  • Views 17388
  • Members are here 0
More Content

Get info from all footprints in library

EvanShultz
EvanShultz over 4 years ago

I would like to write a report that gives 3D mapping info for all footprints in the library. I have written a report that works fine for all footprints on a board, so I should be able to simply swap out the list of footprints on the board with a list of footprints in the library. But I'm not sure how to do that.

getDirFiles(axlOSSlash(strcat(axlGetVariable("CDS_SITE") "//footprints"))) gives me a list of all footprints in the library, but I don't know how to access the footprint properties. The board report is as simple as symdef->prop->PKGDEF_STEP_FILE (and the other 3D model properties) for each footprint on the board, but that doesn't work with a pile of PSM files sitting out on a network folder.

Does anyone know how I can access the properties of a footprint on the network? I searched the forum and didn't find anything but I may have just not used the proper search terms. Thanks in advance for any help!

  • Sign in to reply
  • Cancel
Parents
  • B Bruekers
    B Bruekers over 4 years ago

    You need to do this with the extracta tool and run it on the DRA (not PSM) files.

    create a extracta command file, eg  c:\extracta.txt

    put these lines in this file:

    BOARD
    PKGDEF_STEP_FILE
    END

    Then start the extracta command line: (perhaps you need to run this from your <cds_root>\tools\bin  directory)

    extracta -q -s -k -r "footprint.dra" "c:\extracta.txt"

    This will return the PKGDEF_STEP_FILE information.

    From SKILL you can do this with a ipcBeginProcess() and read out the return with ipcReadProcess().

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • EvanShultz
    EvanShultz over 4 years ago in reply to B Bruekers

    Thanks!!

    I can get this info easily in the console, but I don't find documentation on ipc*Process() functions in COS or any of the SKILL function reference documents I usually look at. There are some examples of using these functions elsewhere on the forum but that doesn't necessarily tell me what I need to know to use there here. Do you know where I can find info on this series of functions?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • EvanShultz
    EvanShultz over 4 years ago in reply to B Bruekers

    Thanks!!

    I can get this info easily in the console, but I don't find documentation on ipc*Process() functions in COS or any of the SKILL function reference documents I usually look at. There are some examples of using these functions elsewhere on the forum but that doesn't necessarily tell me what I need to know to use there here. Do you know where I can find info on this series of functions?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
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