• 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 Scripting - Skill
  3. How to Find the location missing of assembly component subclass...

Stats

  • Replies 11
  • Subscribers 17
  • Views 13455
  • Members are here 0
More Content

How to Find the location missing of assembly component subclass BY SKILL.

DDRsvi
DDRsvi over 7 years ago

Hi,

Some issues design appear when I completed and check overall before releasing my design. And I need to check on ASSEMBLY which it is missed by created manual of designer.

Dear Mr Dave and all members of Cadence forum. Please support me to get ideal to check the missing of assembly components.

BTW, Please comment on this case: I used "axlRunBatchDBProgram("extracta" tCmd ?silent t ?noUnload t ?reloadDB nil)" cmd BUT It use big template data (> 30Gb to extract database). The extracted field is PIN, NET. I try to just extract on NET but the tepmplate data still is big. 

Hope your reply!

DDRsvi,

  • Cancel
  • Sign in to reply
  • eDave
    eDave over 7 years ago in reply to DDRsvi

    Try something like this:

    defun( DE_AssemblyCheck ()
    foreach(sym, axlDBGetDesign() ->symbols
    unless(exists(obj, sym ->children, memv(obj ->objType, '("path", "shape", "polygon")) && obj ->layer == strcat("PACKAGE GEOMETRY/ASSEMBLY_", if(sym ->isMirrored, "BOTTOM", "TOP")))
    silkObjs = setof(obj, sym ->children, memv(obj ->objType, '("path", "shape", "polygon")) && obj ->layer == strcat("PACKAGE GEOMETRY/SILKSCREEN_", if(sym ->isMirrored, "BOTTOM", "TOP")))
    when(silkObjs
    newObjs = axlCopyObject(silkObjs, ?move 0:0)
    axlSymbolAttach(sym, newObjs)
    axlChangeLayer(newObjs, strcat("PACKAGE GEOMETRY/ASSEMBLY_", if(sym ->isMirrored, "BOTTOM", "TOP")))
    )
    )
    )
    )

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • Gowtham229
    Gowtham229 over 6 years ago in reply to eDave

    hi dave,

    report file is not getting generated please help me by adding the same & please upload .il file

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • eDave
    eDave over 6 years ago in reply to Gowtham229

    Something like this?

    defun( DE_AssemblyCheck ()
    p = axlDMOpenLog("AssemblyCheck")
    foreach(sym, axlDBGetDesign() ->symbols
    unless(exists(obj, sym ->children, memv(obj ->objType, '("path", "shape", "polygon")) && obj ->layer == strcat("PACKAGE GEOMETRY/ASSEMBLY_", if(sym ->isMirrored, "BOTTOM", "TOP")))
    silkObjs = setof(obj, sym ->children, memv(obj ->objType, '("path", "shape", "polygon")) && obj ->layer == strcat("PACKAGE GEOMETRY/SILKSCREEN_", if(sym ->isMirrored, "BOTTOM", "TOP")))
    when(silkObjs
    newObjs = axlCopyObject(silkObjs, ?move 0:0)
    axlSymbolAttach(sym, newObjs)
    axlChangeLayer(newObjs, strcat("PACKAGE GEOMETRY/ASSEMBLY_", if(sym ->isMirrored, "BOTTOM", "TOP")))
    fprintf(p, "%s (%s) updated\n", sym ->refdes, sym ->name)
    )
    )
    )
    axlDMClose(p)
    axlUIViewFileCreate("AssemblyCheck.log" "Assembly Check", t)
    )

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Gowtham229
    Gowtham229 over 6 years ago in reply to eDave

    Hi dave,

    Thank you very much for the code I'll execute in Allegro and let you know. I have one doubt can I use command axluiviewfilecreate to generates logs for other skills also.

    Regards,

    Gowtham

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • eDave
    eDave over 6 years ago in reply to Gowtham229

    Yes. If you have created a log file.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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