• 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 13453
  • 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
Parents
  • eDave
    eDave over 7 years ago

    I'm not sure what you are asking. You say ASSEMBLY is missing. Do you mean the assembly outline of a component, a reference designator, a layer from a mask or something else?

    Extracts can be big. I tend to avoid using them where I can.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • DDRsvi
    DDRsvi over 7 years ago in reply to eDave

    1. Yes, I need to check assembly outline of component. But I can not find any way to check it by SKILL. Could you share the way to detect this missing ass outline? 

    2. Yes, I will try to others cmd to extract data.

    Thanks alot,

    DDRsvi

    • Cancel
    • Vote Up 0 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
  • Gowtham229
    Gowtham229 over 6 years ago in reply to eDave

    Hi dave,

    Thanks for your prompt repsonse i've checked the code.with out generating log file it was running. Also some of the components with out assembly outline are not highlighted.please see the error im getting

    Command > skill
    Skill > load("DE_Assemblyolcheck.il")
    function DE_AssemblyCheck redefined
    t
    Skill > exit
    t
    Command > Assemblyolcheck
    E- *Error* fprintf/sprintf: format spec. incompatible with data - "Format is '%s (%s) updated\n', argument #1 is nil"

    please see the attached code appended in .il file

    Regards,

    Gowtham

    0523.DE_Assemblyolcheck.zip

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

    Hi dave,

    Thanks for your prompt repsonse i've checked the code.with out generating log file it was running. Also some of the components with out assembly outline are not highlighted.please see the error im getting

    Command > skill
    Skill > load("DE_Assemblyolcheck.il")
    function DE_AssemblyCheck redefined
    t
    Skill > exit
    t
    Command > Assemblyolcheck
    E- *Error* fprintf/sprintf: format spec. incompatible with data - "Format is '%s (%s) updated\n', argument #1 is nil"

    please see the attached code appended in .il file

    Regards,

    Gowtham

    0523.DE_Assemblyolcheck.zip

    • 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