• 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. Accessing Properties in skill in the symbol editor

Stats

  • Replies 4
  • Subscribers 159
  • Views 13226
  • Members are here 0
More Content

Accessing Properties in skill in the symbol editor

Lennie
Lennie over 9 years ago

I would like to be able to change a user property with a SKILL program in a loaded symbol (.dra file) . Does anyone have any suggestions on how to do that ?

Tks!

  • Sign in to reply
  • Cancel
  • eDave
    eDave over 9 years ago

    Not sure exactly what you mean but try using axlDBAddProp.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Lennie
    Lennie over 9 years ago

    I have a symbol loaded in the symbol editor.

    I have a property added to the user library using

    axlDBCreatePropDictEntry("Date_Created_Modified" "STRING" "SYMBOL")

    I modified the Date_Created_Modified  by using edit properties and it contains a value.

    when I try to use

    p = axlSelectByProperty("symbol" "DATE_CREATED_MODIFED")

    It always comes back NIL.

    How can I change the property  with axlDBAddProp without being able to set 'p' ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • B Bruekers
    B Bruekers over 9 years ago

    To set the property: axlDBAddProp(nil list('DATE_CREATED_MODIFIED "test1"))

    The property is stored here: axlDBGetDesign()->prop

    So, axlDBGetDesign()->prop->DATE_CREATED_MODIFIED  gives you the value. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Lennie
    Lennie over 9 years ago

    Thanks for the response .I am able to get the correct property value but the cannot set the properly with the line that was provided.

    TIA, Lenny

    • 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