• 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 Scripting - Skill
  3. axlDBAddProp overwrite difference layer setting

Stats

  • Replies 5
  • Subscribers 17
  • Views 10832
  • Members are here 0
More Content

axlDBAddProp overwrite difference layer setting

nightingale
nightingale over 7 years ago

Hello:

I use axlDBAddProp to add Dyn_Clearance_Oversiza_Array for each layer ,the rule is first check the thermal width for pin on all layers,the width can be difference on difference layer.After get width for one layer ,I use axlDBAddProp to add the Dyn_Clearance_Oversiza_Array,but when I added this properties for another layer ,The pre-layer property overwrited.:

For example

I first using  axlDBAddProp(a list("DYN_CLEARANCE_OVERSIZE_ARRAY" "TOP:0.5"))

then I checked bottom layer thermal clearance need to be 0.6mm ,so axlDBAddProp(a list("DYN_CLEARANCE_OVERSIZE_ARRAY" "BOTTOM:0.6")), After add property successfully ,the Top side clearance missing.

Could you proposal how to keep the pre-property ?

By the way ,I can't add all layer properties at one time as I need to check width layer by layer.

  • Cancel
  • Sign in to reply
Parents
  • eDave
    eDave over 7 years ago

    axlDBAddProp can have a nasty effect on your dbids. Try using axlDBRefreshId after each add.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • nightingale
    nightingale over 7 years ago in reply to eDave

    Hello:

    Thanks for you quickly response,it is not working even I add axlDBRefreshId after each add. Only the last properties affect.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • nightingale
    nightingale over 7 years ago in reply to eDave

    Hello:

    Thanks for you quickly response,it is not working even I add axlDBRefreshId after each add. Only the last properties affect.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • eDave
    eDave over 7 years ago in reply to nightingale

    I struggle to understand what you are trying to do. The property DYN_CLEARANCE_OVERSIZE_ARRAY accepts only an integer as a value according to the documentation:

    The DYN_CLEARANCE_OVERSIZE_ARRAY property, attached to shapes, filled rectangles (frectangles), pins, vias, or clines, overrides the value in the Oversize values field in the Clearancestab in the Shapes Instance Parameters dialog box and increases the clearance around the specified element. The value is a positive integer. Negative integers are not supported.

    You can apply this property with different values to each layer in a design.The layers includes outer layers, inner plane layers, inner signal layers, and individual layers

    For example, if the value in the Oversize values field is 6, and the value of the DYN_CLEARANCE_OVERSIZE_ARRAY property is 4, the total clearance is 10.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • eDave
    eDave over 7 years ago in reply to eDave

    Ok. I see not that the documentation is misleading. However, to assign this property correctly to an object, it needs to be assigned only once. The resultant value looks like this:

    DYN_CLEARANCE_OVERSIZE_ARRAY = TOP:0.5 MM;T0.6 MM

    So, to add a value you will have to concatenate the values. eg axlDBAddProp(list(objDBID), list("DYN_CLEARANCE_OVERSIZE_ARRAY", "TOP:0.5;T4:0.6"))

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • nightingale
    nightingale over 7 years ago in reply to eDave

    Hello Dave:

    I got the answer ,before I add properties ,I get the properties first,and append1 the new value to the properties
    but after that I got and warning:
    W- *WARNING* (axlDBAddProp): Not a floating point number! - ("INT2:0.5"  "TOP:0.5"  "INT1:0.5" "BOTTOM:0.5"
    how do i convert all these value to float number ?  I know atof can use converts a string into a floating-point number,but here is no only a value.
    • 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