• 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. Automatic Capture.ini setup for database configuration

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 165
  • Views 15429
  • 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

Automatic Capture.ini setup for database configuration

aricbeaver
aricbeaver over 9 years ago

Hi,

I have a master INI file using the environmental variable "%CDS_SITE%/cdssetup/OrCAD_Capture/16.6.0/Capture.ini" that is loaded using the Capture INI manager here: http://www.orcadmarketplace.com/ProductDetails.aspx?ProductID=20.

When configuring a part database, the user's Capture.ini needs to be modified automatically to support the site database. For the database to work properly the following need to be modified in the INI file:

1) [Part Management] - no problems here, the site INI info is transferred into the user INI

2) [Symbol Selector Configured Libraries] and [Part Selector Configured Libraries] - the issue here is if "Number of Configured Libraries" isn't set in the site's INI but a "Library0" is configured, that library may not be transferred to into the user's INI. And if  the number is set, any changes the user made could be overwritten after Capture restart.

Anyone encountered this issue before? Workarounds? The only solution I could think of is set "Number of Configured Libraries=1000" and configure only "Library0" in the site's INI file. That way the user's INI will maintain any user added libraries.

Thanks for any help!

  • Cancel
  • oldmouldy
    oldmouldy over 9 years ago
    It is more usual to specify [Part Library Directories] section for a CIS installation and then list Dir0=<schematic part library directory> and all libraries from that directory location will be used by CIS, multiple directories may be configured with Dir1=... Dir2=... and so on with separate lines in the "master" INI file.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • aricbeaver
    aricbeaver over 9 years ago

    As always, very useful information. I couldn't find that anywhere!

    Do you know if it is possible to use environmental variables in the INI file?

    Dir0 = %CDS_SITE%\Logic

    or

    Dir0 = $CDS_SITE\Logic

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • oldmouldy
    oldmouldy over 9 years ago
    $CDS_SITE would be the "correct" syntax, you would need to try this out since I have never had the need for a "dynamic" library source.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • aricbeaver
    aricbeaver over 9 years ago

    That doesn't seem to work. I've tried many different combinations. What I really need is a way to reference a user's %USERPROFILE% variable for their own personal editing library. Do you know if that is possible?

    • 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