• 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. PCB Design
  3. Using custom footprint ... not messing with the instala...

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 166
  • Views 16154
  • Members are here 0
More Content
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Using custom footprint ... not messing with the instalation

Martins
Martins over 12 years ago

Hi.

I have the following custom footprint with files:

fp1.psm; fp1.dra; r411_367.pad

If I put these fles (I tested) in C:\Cadence\SPB_16.3\share\pcb\pcb_lib\symbolsfootprint the footprint will be shown in Capture->ShowFootprint.

The problem is that I don't want to mess around the installation that doesn't belong to me. I nees to keep my files out of the installation as much as possible.

Even so, I tried to mess with PCB Editor  (** my personal lib folder is H:/hm/proj/Electronica/_lib/PCB ***)

... so that:


set  padpath      = . symbols .. ../symbols C:/Cadence/SPB_16.3/share/local/pcb/padstacks C:/Cadence/SPB_16.3/share/pcb/pcb_lib/symbols C:/Cadence/SPB_16.3/share/pcb/allegrolib/symbols H:/hm/proj/Electronica/_lib/PCB

set  psmpath      = . symbols .. ../symbols C:/Cadence/SPB_16.3/share/local/pcb/symbols C:/Cadence/SPB_16.3/share/pcb/pcb_lib/symbols C:/Cadence/SPB_16.3/share/pcb/allegrolib/symbols H:/hm/proj/Electronica/_lib/PCB

... but still I can't convince Capture to find out the footprint if the filesare not located in C:\Cadence\SPB_16.3\share\pcb\pcb_lib\symbolsfootprint


Is there a way to convince Orcad Capture to find out my own lib's, specially footprints, messing around with the installation as less as possibe?

Thanks
Martins

 

  • Cancel
  • steve
    steve over 12 years ago

    Edit the capture.ini file and add the path to the new footprint locations. Capture ini is stored <your_install_dir\tools\capture directory for pre 16.6 and %HOME%\cdssetup\OrCAD_Capture\16.6.0 for 16.6

    [Footprint Viewer Type]

    Type=Allegro

    [Allegro Footprints]

    Dir0=fullpathtofootprints

    Dir1=fullpathtofootprints

    Dir2=fullpathtofootprints

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Martins
    Martins over 12 years ago

     Thank you Steve;

    I did as you suggested. The previous error has gone but was replaced by:

    ERROR(SPMHA1-161): Cannot open the design database file ... run standalone dbdoctor on the file. Unable to opening design H:\hm\proj\Electronica\_lib\PCB\FP1.psm


    I used DbDoctor against that file (and all other files inside H:\hm\proj\Electronica\_lib\PCBbut that can e handled by DbDoctor), and it keeps replying the same SPMHA1-161.

    Now, I guess it may be protesting about the "database file". Database of files? This specific file among all the project files?

    This is quite anoying :)

    Regards
    Martins

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • steve
    steve over 12 years ago

    There will be a corresponding FP1.dra file. Can you open that run a dbcheck on this footprint and then re-create the psm file. Then try again.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Martins
    Martins over 12 years ago

    Thank you.

    Dbcheck on FP1.dra: 0 warnings, 0 errors detected, 0 errors  fixed.

    On the other side I asked for temporary permition to put these three files (fp1.psm; fp1.dra; r411_367.pad) inside [...]\share\pcb\pcb_lib\symbols and they work OK.


    Martins

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • BillZ
    BillZ over 12 years ago

    Hi,

    Your symbol search path is from the top down as listed in the user preferences. So the tool was looking for the old symbol you installed in the default directory before the new library you wanted. You can raise your custom library higher in the search list with the Arrows in the User Preferences. Raise this path above your default path:H:/hm/proj/Electronica/_lib/PCB

    Also the . (peroid) = the current working directory, .. (double period) means search one directory up.

    BillZ

    EMA Design Automation

     

    • Cancel
    • Vote Up 0 Vote Down
    • 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