Home > Community > Forums > PCB SKILL > [APD] how to retrieve values from constraint manager

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

 [APD] how to retrieve values from constraint manager 

Last post Thu, Mar 27 2014 3:55 AM by Kadar. 1 replies.
Started by Guye 13 Mar 2014 04:44 AM. Topic has 1 replies and 674 views
Page 1 of 1 (2 items)
Sort Posts:
  • Thu, Mar 13 2014 4:44 AM

    • Guye
    • Not Ranked
    • Joined on Mon, Aug 3 2009
    • Yokneam, Israel
    • Posts 9
    • Points 150
    [APD] how to retrieve values from constraint manager Reply

    Hello all,

     

    how can i get the value of bbVia to bbVia spacing (on specific layer)? 

     see attachment

    i would like to get the marked value. 

     Thanks,

    Guy 


    • Post Points: 20
  • Thu, Mar 27 2014 3:55 AM

    • Kadar
    • Top 500 Contributor
    • Joined on Mon, Jun 6 2011
    • Haifa, Israel
    • Posts 26
    • Points 370
    Re: [APD] how to retrieve values from constraint manager Reply

    Hello,

    Try this:

    If You know the Spacing set name - i.e. "POWER" so You can do this:

    axlCNSGetSpacing("POWER"  "CONDUCTOR/TOP"  'bbvia_bbvia)

    => 5.0

    (instead of "CONDUCTOR/TOP" can be any existing metal layer)

    If You don't have Spacing set name You can find it:

    1) Get the design ID with:  Des_ID=axlDBGetDesign()

    2) Get the nets of Your design D_Nets=Des_ID~>nets

    3) Scan the list of nets and find the desired NET.

    4) For the desired net do:  Desired_Net~>prop~>SPACING_CONSTRAINT_SET

    If You get "nil'' for SPACING_CONSTRAINT_SET it means that its value is "DEFAULT"

    Hope it is helpful.

    Kadar

    • Post Points: 5
Page 1 of 1 (2 items)
Sort Posts:
Started by Guye at 13 Mar 2014 04:44 AM. Topic has 1 replies.