Home > Community > Forums > PCB SKILL > Extract xsection and draw it

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: *

 Extract xsection and draw it 

Last post Thu, Dec 1 2011 7:16 AM by Goblin60. 15 replies.
Started by archive 31 Jul 2008 08:49 PM. Topic has 15 replies and 12490 views
Page 1 of 2 (16 items) 1 2 Next >
Sort Posts:
  • Thu, Jul 31 2008 8:49 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    Extract xsection and draw it Reply

    HI all,

    I have used a skill program from that forum that extract layer etch and draw it to the design.

    I have modified it to use the news api 16.x function.

    I also extract thikness inter layer etc.

    This is my first program so be gentle with me.

    I attach it and let me know if i need to change something before send it to cadence to review it.

    to use it, you just need to type XSection2 in your skill window.

    regards

    Jonathan

     

    Originally posted in cdnusers.org by dumarjo.

    • Post Points: 35
  • Thu, Jul 31 2008 8:51 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    Re: Extract xsection and draw it Reply

    update

    I have added the total thickness

    Is it possible that the axlGetXSection always return the units mil ?
    I have put my database in mm, the xsection show it in mm but the axlGetXSection return it in mil.

    DO i have to do the conversion myself ?

    Jonathan

     

    Originally posted in cdnusers.org by dumarjo.

    • Post Points: 35
  • Tue, Aug 5 2008 3:45 AM

    • oldmouldy
    • Top 10 Contributor
    • Joined on Tue, Jul 15 2008
    • Woking, Surrey
    • Posts 1,436
    • Points 24,455
    Re: Extract xsection and draw it Reply
    It would appear to that the cross section thickness value is "always" in "mils". That could mean that the cross section values are "always" stored in "mils" and converted before display in the cross section control for the design. In which case, this routine would need another "case statement" to convert between the "mils" that the thickness is "dumped" in and the desired display in database units. I admit that I have only tried this on a design converted to "mm", the cross section control is correct but the axlGetXSection() returns "mils", at least it attaches the units!
    • Post Points: 5
  • Tue, Aug 5 2008 5:18 AM

    • oldmouldy
    • Top 10 Contributor
    • Joined on Tue, Jul 15 2008
    • Woking, Surrey
    • Posts 1,436
    • Points 24,455
    Re: Extract xsection and draw it Reply

    Try the attached.

    I have added the thickness conversion, thickness formatting to user accuracy, fixed issue with index when adding the bounding rectangle.

    Routine still called XSection2.

    • Post Points: 20
  • Thu, Sep 4 2008 9:55 PM

    • redwire
    • Top 10 Contributor
    • Joined on Thu, Jul 17 2008
    • Allen, TX
    • Posts 880
    • Points 13,550
    Can someone at Cadence fix these links? Reply

    There seems to be a useful SKILL script here but the link is dead.


    Thx.

    • Post Points: 5
  • Fri, Sep 5 2008 5:27 AM

    • mcatramb91
    • Top 75 Contributor
    • Joined on Thu, Jan 3 2013
    • Chelmsford, MA
    • Posts 101
    • Points 4,995
    Re: Extract xsection and draw it Reply

    The link to the original attachment "Create_XSection_Figure.il" is not available on the community site for some reason.  Here is the SKILL file attachmnet from the original post.  Hopefully the resulting link will work and if not we have a SKILL forum problem.

    OK.  The attachment problem seems to be related to the ".il" extension so I added the SKILL file to a ZIP file, reattached and it is now availabIe. I dropped Cadence an additional email.  Stay Tuned

    Hope this helps,
    Mike Catrambone
    UTStarcom, Inc.

    Filed under:
    • Post Points: 20
  • Fri, Sep 5 2008 6:09 AM

    • oldmouldy
    • Top 10 Contributor
    • Joined on Tue, Jul 15 2008
    • Woking, Surrey
    • Posts 1,436
    • Points 24,455
    Re: Extract xsection and draw it Reply

    Reposted as a ZIP..... same details as before.

    • Post Points: 20
  • Fri, Sep 5 2008 5:37 PM

    • redwire
    • Top 10 Contributor
    • Joined on Thu, Jul 17 2008
    • Allen, TX
    • Posts 880
    • Points 13,550
    Re: Extract xsection and draw it Reply

    Thanks all!  Nice job to those who helped make this.

    I *already* see some custom tweaks coming down the pike!  Stay tuned.


    Bill

    • Post Points: 20
  • Fri, Oct 10 2008 3:07 PM

    • vramanan
    • Top 100 Contributor
    • Joined on Fri, Oct 10 2008
    • sunnyvale, CA
    • Posts 66
    • Points 1,110
    Re: Extract xsection and draw it Reply

     This is a wonderful script

     I have added some customization now

     Here are the following things that will be done

     1. Count the Layers ( will only work for even numbers)

    2.  Add the Dielectric Type(Name) inside the Dielectric Box (I left out Dk since it is variable)

    3. If the layer is signal then it will have split shapes

    (using Case statement instead of if and looking for the 2nd element inside the xsection data)

    4. Added tolerance to the total thickness

     

    I am attaching the materials.dat if you want to customize it (use as is)

    regards

    Venkata

     

     

    • Post Points: 50
  • Mon, Oct 13 2008 11:39 AM

    • redwire
    • Top 10 Contributor
    • Joined on Thu, Jul 17 2008
    • Allen, TX
    • Posts 880
    • Points 13,550
    Re: Extract xsection and draw it Reply

     Excellent work!  I like it.


    Bill

    • Post Points: 5
  • Sun, Feb 15 2009 9:07 PM

    • pakistan
    • Top 100 Contributor
    • Joined on Sat, Jan 24 2009
    • Posts 78
    • Points 1,200
    Re: Extract xsection and draw it Reply

    Hi Venkata,

    I have allegro 16.0.

    I want to extract xsection for adding fab notes on pcb. I copied all files which you provide in zip file in my working directory.

    when I run the script the following msg occurs

    Script version: 16.01
    t
    Loading axlcore.cxt
    *Error* eval: undefined function - axlGetXSection

    plz let me know what should I do

    Thanks in advance

    Tanveer

    • Post Points: 20
  • Tue, Feb 17 2009 9:39 AM

    • vramanan
    • Top 100 Contributor
    • Joined on Fri, Oct 10 2008
    • sunnyvale, CA
    • Posts 66
    • Points 1,110
    RE: Extract xsection and draw it Reply
    You got have v16 or above to run this script

    Regards

    Venkata
    • Post Points: 5
  • Sun, Nov 6 2011 10:26 AM

    • RonScott
    • Not Ranked
    • Joined on Sun, Nov 6 2011
    • Posts 11
    • Points 190
    Re: Extract xsection and draw it Reply

    Venkata,

    I have been using your script with great success until I upgraded to 16.5. Now I get the following error message (see attachment). Any help will be appreciated.

    Cheers,

    Ron Scott


    • Post Points: 20
  • Thu, Nov 10 2011 9:13 AM

    • vramananx
    • Top 500 Contributor
    • Joined on Tue, Jun 7 2011
    • Posts 23
    • Points 385
    Re: Extract xsection and draw it Reply
    Hi Ron looks like you are running the script file and the skill file is not found in the working directory you should include the path or load the skill file using allegro.ilinit so that xs is available all the time just put the stack.il in the working director or your skill directory then type skill load "stack.il" now just type xs
    • Post Points: 20
  • Wed, Nov 30 2011 12:21 PM

    • fxffxf
    • Top 25 Contributor
    • Joined on Thu, Jul 17 2008
    • ., AK
    • Posts 297
    • Points 4,730
    Re: Extract xsection and draw it Reply

    With 16.5, look under the Manufacture menu and try the "Cross Section Chart" command.

    • Post Points: 5
Page 1 of 2 (16 items) 1 2 Next >
Sort Posts:
Started by archive at 31 Jul 2008 08:49 PM. Topic has 15 replies.