• 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. path name wildcard syntax

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 164
  • Views 13486
  • 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

path name wildcard syntax

Emmett
Emmett over 7 years ago

Hello,

I am a newbie w/ SPB17.2 and latest hotpatch.

I created a separate directory for my symbols.

Under that directory I have sub-directories by category.

I can place those symbols if I list each sub-directory in the psmpath, etc.

Is there a wildcard syntax so that I can just list my global symbols directory in the path?

In other words, so that I don't have to list every sub-directory? (I will be adding new sub-directories frequently)

Thanks,

Emmett

  • Cancel
  • DavidJHutchins
    DavidJHutchins over 7 years ago

    Emmett,

    I don't think Allegro allows any wildcards in their library paths :(

    However, I wrote the following in my allegro.ilinit this morning which resolves that issue by expanding * wildcard into actual sub-directory folder entries:

    procedure( MyTriggerOpen( t_open)
    let( (TmpStr TmpPath NewPath)
    foreach(Directory parseString((axlGetVariable "PSMPATH"))
    if(nindex(Directory "*") then
    (TmpStr = substring(axlOSSlash(Directory) 1 strlen(Directory) - 2))
    when(isDir(TmpStr)
    foreach(subdir getDirFiles(TmpStr)
    unless(nindex(subdir ".")
    (TmpPath = strcat(TmpStr "/" subdir))
    when(isDir(TmpPath)
    if(NewPath then
    (NewPath = strcat(NewPath " " TmpPath))
    else
    (NewPath = TmpPath)
    )
    )
    )
    )
    )
    else
    if(NewPath then
    (NewPath = strcat(NewPath " " Directory))
    else
    (NewPath = Directory)
    )
    )
    )
    axlSetVariable("PSMPATH" NewPath)
    t
    )
    )
    axlTriggerSet('open 'MyTriggerOpen)

    • 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