Home > Community > Forums > PCB SKILL > accessing drill figure info from design?

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 accessing drill figure info from design? 

Last post Tue, Aug 28 2007 12:35 PM by archive. 9 replies.
Started by archive 28 Aug 2007 12:35 PM. Topic has 9 replies and 2849 views
Page 1 of 1 (10 items)
Sort Posts:
  • Tue, Aug 28 2007 12:35 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    accessing drill figure info from design? Reply

    Greetings,

    When you steer toward Manufacturing->Drill Customization a spreadsheet-looking form comes up, obviously built using the axlFormGrid* functions.

    Anyone know how to access this info directly thru SKILL?  I vaguely remember  it had something to do with axlGetParam but  I might well be wrong.

    TIA,

    Chris Walters
    local Cadence guru
    ()


    Originally posted in cdnusers.org by kerchunk
    • Post Points: 0
  • Tue, Aug 28 2007 1:23 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: accessing drill figure info from design? Reply

    Hi Chris,

    The table looks to be built directly from the drills used in your design.
    You could easily emulate this using the pin/via definition attributes.
    eg. pin ->definition ->drillChar

    Cheers, Dave


    Originally posted in cdnusers.org by Dave Elder
    • Post Points: 0
  • Tue, Aug 28 2007 5:20 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: accessing drill figure info from design? Reply

    Hey Dave,

    Ya I could cycle through every pin/via in the design and build up a table but I was hoping for a more elegant solution.
    fxf gave me a clue to do something very similar to this 3 companies and 6 years ago, I just don't recall. Argh.

    fxf you out there?


    Chris Walters
    local Cadence guru
    ()


    Originally posted in cdnusers.org by kerchunk
    • Post Points: 0
  • Tue, Aug 28 2007 6:18 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: accessing drill figure info from design? Reply

    You could do it via the extracta. I have generated my own drill tables that way - it's much faster than going through each object dbid by dbid. I would be interested in Frank's answer.


    Originally posted in cdnusers.org by Dave Elder
    • Post Points: 0
  • Wed, Aug 29 2007 5:09 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: accessing drill figure info from design? Reply

    This form builds its table by finding all pins and vias in the design. Remember to set the "invisible" option in the
    axlSetFindFilter. For performance reasons, it uses this list of pins/vias to build a hash (see Skill association tabke) table
    of all padstacks used in the design.

    See example finding all dbids of a type @ /share/pcb/examples/skill/select/ashfindall.il


    Originally posted in cdnusers.org by fxf
    • Post Points: 0
  • Tue, Sep 4 2007 8:19 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: accessing drill figure info from design? Reply

    Thanks Dave, fxf for responding.

    I solved the problem by picking off the drillfigure name and character info while iterating over axlDBGetDesign()->padstacks . And boy was the client surprised when we found the list contained some entries not in the manaully-editied drill legend!


    Thx again,

    Chris Walters
    local Cadence guru
    ()


    Originally posted in cdnusers.org by kerchunk
    • Post Points: 0
  • Wed, Sep 5 2007 5:00 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: accessing drill figure info from design? Reply

    You should note that padstacks may be in axlDBGetDesign()->padstacks that are not used by the
    design. You should always get the list of vias and pins and build the used padstack list from that.


    Originally posted in cdnusers.org by fxf
    • Post Points: 0
  • Wed, Sep 5 2007 7:24 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: accessing drill figure info from design? Reply

    Ah, like if someone placed something that used padstack Z, then later deleted the something but the padstack itself remains in the design file. Subtle.

    Thx for the tip!

    Chris Walters
    local Cadence guru
    ()


    Originally posted in cdnusers.org by kerchunk
    • Post Points: 0
  • Wed, Sep 5 2007 7:51 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: accessing drill figure info from design? Reply

    I run axlPurgePadstacks before I attempt to do anything that looks at ALL the pad stacks. Cheers Dave


    Originally posted in cdnusers.org by Dave Elder
    • Post Points: 0
  • Thu, Sep 6 2007 5:08 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: accessing drill figure info from design? Reply

    axlPurgePadstacks('padstacks nil) can also be used before axlDBGetDesign()->padstacks so that this list just
    has padstacks used in the database. You might want to do axlDBRefreshId(axlDBGetDesign()) after the purge call.


    Originally posted in cdnusers.org by fxf
    • Post Points: 0
Page 1 of 1 (10 items)
Sort Posts:
Started by archive at 28 Aug 2007 12:35 PM. Topic has 9 replies.