• 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. How to find out which env file is being used?

Stats

  • Replies 3
  • Subscribers 160
  • Views 26337
  • Members are here 0
More Content

How to find out which env file is being used?

thewill2live
thewill2live over 11 years ago

Hey guys,

 

I edited my scriptpath in the global ENV file (located in the CDSROOT/share/pcb/text/ directory) as well as the local ENV file (located in the  CDSROOT/pcbenv/ directory) both to have a new entry for the scriptpath. Yet after loading up Allegro and clicking on Tools>Utilities>Env Variables it still shows that my scriptpath is set to some other directory (that is not listed in either of the two aformentioned ENV files).

 So my question is, is there some way to find out which ENV file is getting loaded by Allegro (besides manually looking up any and all ENV files in the directory)? This specific computer I'm talking about does have older versions of Allegro also installed on it, is it possible that it defaults to the oldest version's global ENV?

 

Thanks for any help you can give me. 

  • Cancel
  • Sign in to reply
Parents
  • thewill2live
    thewill2live over 11 years ago
    Thanks for the tip. I know that users shouldn't edit the env file directly, and when I edit things manually I do it from the user preferences like you suggested. The reason that I'm editing the file directly is that I am doing this from a python script (as a part of an installation suite for SKILL programs). I'll take a look at the envpath and see if that takes me anywhere. Thanks again for the help.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • thewill2live
    thewill2live over 11 years ago
    Thanks for the tip. I know that users shouldn't edit the env file directly, and when I edit things manually I do it from the user preferences like you suggested. The reason that I'm editing the file directly is that I am doing this from a python script (as a part of an installation suite for SKILL programs). I'll take a look at the envpath and see if that takes me anywhere. Thanks again for the help.
    • 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