Home > Community > Forums > PCB SKILL > axlSelectByProperty

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

 axlSelectByProperty 

Last post Thu, Jul 19 2007 9:13 AM by archive. 4 replies.
Started by archive 19 Jul 2007 09:13 AM. Topic has 4 replies and 1764 views
Page 1 of 1 (5 items)
Sort Posts:
  • Thu, Jul 19 2007 9:13 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,950
    axlSelectByProperty Reply

    I have 4 components with the property PART_NUMBER= AD8362ARU in my design. To select them all at once, there is a skill function, axlSelectByProperty. it works for nets for example: p = axlSelectByProperty("net" LOGICAL_PATH") returns 472 DBIDs. Then, why axlSelectByProperty("compdef" "PART_NUMBER" "AD8362ARU") returns only one DBID not all 4? axlSelectByProperty("compdef" "PART_NUMBER") returns 112 item, axlSelectByProperty("compdef" "PART_NUMBER" "*AD8362ARU*" t) returns only one! Is it a bug? or a bad use...?

    Subsidiary question, why carriage return(newline) are not correctly ddisplayed in messages I post in this forum?


    Originally posted in cdnusers.org by willbi
    • Post Points: 0
  • Thu, Jul 19 2007 9:15 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,950
    RE: axlSelectByProperty Reply

    to get the only empty line we see, I have to write
    twice in the message...


    Originally posted in cdnusers.org by willbi
    • Post Points: 0
  • Thu, Jul 19 2007 9:22 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,950
    RE: axlSelectByProperty Reply


    I read the message about formatting code...

    Then newlines must be there....

    willbi


    Originally posted in cdnusers.org by willbi
    • Post Points: 0
  • Thu, Jul 19 2007 9:33 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,950
    RE: axlSelectByProperty Reply

    There is only one "compdef" record (one component definition record) called AD8362ARU. There may be four, or four hundred, "compinst" records (instances of the component) but only one component definition record.


    Originally posted in cdnusers.org by AshCan
    • Post Points: 0
  • Thu, Jul 19 2007 9:45 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,950
    RE: axlSelectByProperty Reply

    OK, so it's normal that I have only one DBID... with compdef.



    In fact, I copy/paste the last try and then it was compdef.... but with component it should work.

    axlSelectByProperty("component" "PART_NUMBER" "AD8362ARU") returns "nil"!


    What's wrong?

    there is 4 components with the property PART_NUMBER=AD8362ARU....


    I found that with compdef (which returns only one), car(p)->components length is 4!

    So I have my list... thanks.


    Originally posted in cdnusers.org by willbi
    • Post Points: 0
Page 1 of 1 (5 items)
Sort Posts:
Started by archive at 19 Jul 2007 09:13 AM. Topic has 4 replies.