• 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. Problem with linking HOME path to env file in pcbenv

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 165
  • Views 20334
  • 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

Problem with linking HOME path to env file in pcbenv

michielqpi
michielqpi over 8 years ago

Hi,

I got a problem with the envpath in Allegro 16.6. I'm using a custom env file located on the D:\ drive. For example D:\...\Users\michiel\pcbenv\env This means that the HOME path is: D:\...\Users\michiel

Now I tried to copy this to a computer of a colleague, but I accidentally put the HOME path towards D:\...\Users\michiel\pcbenv. Now allegro makes a pcbenv folder inside the pcbenv folder: D:\...\Users\michiel\pcbenv\pcbenv

After I found out I made this mistake, I tried to put the env file in the ...\pcbenv\pcbenv folder. After starting Allegro I got an error about missing a file 'allegro_smi_modules.txt'. It meant that the path was too long.

Then I changed the HOME path as it should be towards D:\...\Users\michiel

Now the real problem starts! I can start Allegro, but Allegro isn't seeing my env file. When I open Allegro / Tools / Utilities / Env Variables I see the following thing:

  • set  envpath      = D:/.../Users/michiel/pcbenv/pcbenv C:/Cadence/SPB_16.6/share/pcb/text

As you can see there is an extra pcbenv. For some reason it keeps adding pcbenv two times instead of one. I even changed to HOME path to just the C:\ drive and later on changing it back to the env file located on the D:\ drive. This didn't solve the problem!

Question: how can I fix this envpath problem? Do I need to delete the HOME path or even reinstall all of Allegro?

BR,

Michiel

'allegro_smi_modules.txt'
'allegro_smi_modules.txt'
'allegro_smi_modules.txt'
'allegro_smi_modules.txt'

  • Cancel
  • steve
    steve over 8 years ago
    You simply need to set HOME to point to C:\SPB_Data (That used to be the default, It's now C:\Users\Yourusername\appdata etc but you can set this wherever you want). Then when you start Allegro a pcbenv folder is generated automatically at the HOME location and your env file (and other files) get generated in this folder. Go to Control Panel - System - Advanced System Settings - Environment Variables and set HOME here. Once the folder is there you can copy pcbenv to this folder but do this before you restart Allegro.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • michielqpi
    michielqpi over 8 years ago

    That's how I did it by changing the HOME path. I'll try to change it back to the point you suggest. I already copied the funckey functions from my env file to the one of Allegro. It's just weird that it creates a pcbenv folder in a pcbenv folder when the HOME path isn't even linked to the first pcbenv folder.
     I'll update this post once I tried it (prob monday).

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • michielqpi
    michielqpi over 8 years ago
    I fixed it by reinstalling Allegro. Probably some weird bug.
    • 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