Home > Community > Forums > PCB SKILL > axlSkill func to replace via's by window or group

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

 axlSkill func to replace via's by window or group 

Last post Fri, Mar 18 2005 7:55 AM by archive. 3 replies.
Started by archive 18 Mar 2005 07:55 AM. Topic has 3 replies and 2321 views
Page 1 of 1 (4 items)
Sort Posts:
  • Fri, Mar 18 2005 7:55 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,950
    axlSkill func to replace via's by window or group Reply

    THis function allows you to select several vias using multiple selections and group and then replace them with a different via.


    Originally posted in cdnusers.org by andyk
    • Post Points: 0
  • Wed, Mar 30 2005 4:02 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,950
    RE: axlSkill func to replace via's by window or group Reply

    Hi Andy,

    When I check the library box in the padstacks popup I'm getting the "check for fixed properties and retry" popup warning and would not replace any vias. I could not find any fixed vias. What do you think is causing the problem?

    It does work when I include the padstack name of the new via I want to use in the Constraints Manager Physical via list table.

    thanks,
    Gino


    Originally posted in cdnusers.org by ginop
    • Post Points: 0
  • Thu, Mar 31 2005 6:16 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,950
    RE: axlSkill func to replace via's by window or group Reply

    This means that there is a fixed property on the via or that something else is wrong, where the function axlRpelacePadstack did succeed. Do a show element, set your filter to vias only and clikc on the via in question.

    As you can see in the code below the program takes the list of vias and replaces them and stores the dbids of the replaced objects in "ldbids"
    ...
    (setq ldbid (axlReplacePadstack vias2replace padstk_name))
    (if (length ldbid) != cnt then
    (sprintf msg "WARNING: Replaced only %d out of %d vias.\n\nCheck for FIXED property and retry." (length ldbid) cnt)
    axlUIConfirm(msg)
    else
    (sprintf msg "Info: Replaced %d out of %d vias." (length ldbid) cnt)
    axlUIConfirm(msg)
    );
    );if

    ...

    In other words we know how many we have to replace and we know how many got replaced.

    Let me know if this helps


    Originally posted in cdnusers.org by andyk
    • Post Points: 0
  • Thu, Mar 31 2005 8:33 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,950
    RE: axlSkill func to replace via's by window or group Reply

    Hi Andy,

    In my particular situation the only way I was able to get the replace
    via skill program to work was to add the new via name I want
    to replace the existing vias in the board in the Constraint Manager
    via list. When I did that I did not get any more warnings about fixed
    properties. It also did not matter if I had checked the library box in
    the padstack pop-up or not. I checked the vias in my board and they do
    not have any fixed properties attached to them.

    Let me know if you can duplicate the error I'm getting if the the new
    via you want to use is not in the board database and not in the
    constarint manager via list but only in the library database and you
    have to check the library box in the padstack popup.

    thanks,
    Gino


    Originally posted in cdnusers.org by ginop
    • Post Points: 0
Page 1 of 1 (4 items)
Sort Posts:
Started by archive at 18 Mar 2005 07:55 AM. Topic has 3 replies.