• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Allegro X PCB Editor
  3. [APD] how to retrieve values from constraint manager

Stats

  • Replies 1
  • Subscribers 159
  • Views 12695
  • Members are here 0
More Content

[APD] how to retrieve values from constraint manager

Guye
Guye over 11 years ago

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 

  • Capture.JPG
  • View
  • Hide
  • Sign in to reply
  • Cancel
  • Kadar
    Kadar over 11 years ago

    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

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information