• 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. Find missing SilkScreen RefDes on board design

Stats

  • Locked Locked
  • Replies 25
  • Subscribers 167
  • Views 25766
  • 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

Find missing SilkScreen RefDes on board design

TiBo
TiBo over 10 years ago

Hi,

Is anyone knows how to find a missing REFDES on silkscreen or assembly layer? Is there a skill code to do that?

From time to time I find a few part on the design missing REFDES, probably they got deleted by accident and I didn't even know about it. It takes a lot of time to check each part on the board. If there are a better way to do this, please do tell.

Thank in advance.

Regard,

TiBo

  • Cancel
  • eDave
    eDave over 10 years ago

    Try something like this:

    layerPrefix = "REF DES/SILKSCREEN_"
    setof(sym, axlDBGetDesign() ->symbols, sym ->refdes && !exists(obj, sym ->children, obj ->text == sym ->refdes && index(obj ->layer, layerPrefix))) ~>refdes

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • TiBo
    TiBo over 10 years ago

    Thank Dave,

    Please excuse me for lacking of knowledge of skill code.

    Could you be kind to show me how this work?

    Thank again.

    TiBo

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • KoryMJ
    KoryMJ over 10 years ago

    Dave,


    THAT was pretty nice. Thanks for sharing.


    TiBo,

    To use, type "skill" at the Allegro command line (no quotes). Then type or paste the next two lines on the Skill command line. Type "exit" to get out of the Skill environment (no quotes).

    Kory

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • TiBo
    TiBo over 10 years ago

    Thank so much Dave and Kory.

    Can you put this in a xxxx.il file so we can query with one click ?

    Thanks

    Regards,

    TiBo

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • KoryMJ
    KoryMJ over 10 years ago

    Hi TiBo,

    I put Dave's routine in the format required for Skill to run.  Unfortunately, I couldn't see how to attach a file to the post, so I am including it in this message.  Save the area between "### begin Skill code" and "### end Skill code" to a file called findMissingRefdes.il.  Then, you can load it as you would normally load a Skill program.  To run it, you just type "fmr" (no quotes) at the Allegro command line.

    Kory

    ### begin Skill code

    ;------------------------------------------------------------------------------
    ; FMR skill routine ver. 0.1
    ;

    procedure( find_missing_refdes()

    layerPrefix = "REF DES/SILKSCREEN_"
    list = setof(sym, axlDBGetDesign() ->symbols, sym ->refdes && !exists(obj, sym ->children, obj ->text == sym ->refdes && index(obj ->layer, layerPrefix))) ~>refdes

    print(list)

    );procedure


    axlCmdRegister("fmr" 'find_missing_refdes)

    ### end Skill code

    • 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