• 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. delete property from symbol

Stats

  • Replies 2
  • Subscribers 159
  • Views 14298
  • Members are here 0
More Content

delete property from symbol

Ejlersen
Ejlersen over 12 years ago

Hi

I've made a skill program that uses properties on symbols but have experienced an issue that I cannot solve for the attached symbol.

If I look at Setup->Property definitions it shows NS_REV_100_COMMENT and NS_REVISION_CODE and I can't delete them in that menu or with axlDBDeletePropDictEntry since it is in use.

If I do a Edit->Properties on Drawing it does not show this property as being part of the symbol drawing.

If I inside the Skill window do props = axlDBGetProperties(axlDBGetDesign()) then it will show these 2 properties as being part of the symbol

This should mean that the following code first deletes the usage of the property and then the property definition, but this does not happen.

 propname = "NS_REV_100_COMMENT"
 axlDBDeleteProp(axlDBGetDesign() propname)
 axlDBDeletePropDictEntry(propname)

This works for lots of other symbols but not for this one, anyone with an idea to the issue? 

 

Best regards

Ole

Revpsm.zip
  • Sign in to reply
  • Cancel
  • eDave
    eDave over 12 years ago

    Hi Ole,

    Try using  axlDBDeletePropAll

     propname = "NS_REV_100_COMMENT"

    axlDBDeletePropAll(propname)

     axlDBDeletePropDictEntry(propname)

     

    Regards,

    Dave 

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Ejlersen
    Ejlersen over 12 years ago

    Hi Dave

    That works nicely, don't know if there's a difference if the property is made as being invisible, but I'll just use the axlDBDeletePropAll insted.

    Thanks for your help.

    Best regards

    Ole

    • 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