Home > Community > Forums > PCB SKILL > starting with skill

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

 starting with skill 

Last post Wed, Mar 30 2005 9:35 AM by archive. 4 replies.
Started by archive 30 Mar 2005 09:35 AM. Topic has 4 replies and 2253 views
Page 1 of 1 (5 items)
Sort Posts:
  • Wed, Mar 30 2005 9:35 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    starting with skill Reply

    Hi,

    Id like to attempt a skill program that takes the ref des. in Allegro and auto matically rotates them either 0 or 90 degrees. I dont have any experience with SKILL but I was looking thru the functions and did not see anything that would help. What is the best way to get started? I looked at the Cadence samples but these are all mathematical computation type of routines. Where would I find a routine that manipulates an Allegro database?

    Thanks,

    mw


    Originally posted in cdnusers.org by mscm95
    • Post Points: 0
  • Thu, Mar 31 2005 6:36 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: starting with skill Reply

    please see cadence doc


    Originally posted in cdnusers.org by microhelp
    • Post Points: 0
  • Mon, Jul 18 2005 7:36 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: starting with skill Reply

    I hope this helps out for some...
    http://www.amkor.com/products/notes_papers/Cadence_Paper1003.pdf


    Originally posted in cdnusers.org by mdrei
    • Post Points: 0
  • Mon, Jul 18 2005 9:20 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: starting with skill Reply

    All,
    Moody's paper is also published on this community site under PCB Design/Technical Resources/SKILL. URL is http://www.cadence.com/community/allegro/Resources/resources_PCB/skill/tpamkor_skillcustomization.pdf


    Originally posted in cdnusers.org by Moderator
    • Post Points: 0
  • Wed, Aug 17 2005 2:46 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: starting with skill Reply

    This is quite tricky.
    You have to select all text on the appropriate layes, i.e:

    axlClearSelSet()
    axlSetFindFilter( ?enabled (list "noall" "invisible" "text") ?onButtons (list "text"))
    text_list = axlGetSelSet( axlAddSelectAll())
    axlCloseFindFilter()

    this gives all kind of text in the list text_list.
    Now iterate (use foreach) every element and check if it's on the appropriate layer i.e.:

    foreach( text_db text_list
    cond(
    (text_db->layer == "REF DES/ASSEMBLY_TOP"
    do_something( text_db)
    )
    );end-cond
    );end-foreach

    in do_something() you have to remenber the parent id, the old text and then you delete te old text and create a new one with the right parent..

    axlDBCreateText(
    old_dbid->text
    old_dbid->xy
    new_orientation
    old_dbid->layer
    old_dbid->parent)

    axlDeleteObject( old_dbid)

    That's it.
    Tobias


    Originally posted in cdnusers.org by tschirmer
    • Post Points: 0
Page 1 of 1 (5 items)
Sort Posts:
Started by archive at 30 Mar 2005 09:35 AM. Topic has 4 replies.