• 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. Where is that property ?

Stats

  • Replies 3
  • Subscribers 160
  • Views 12663
  • Members are here 0
More Content

Where is that property ?

Romme
Romme over 15 years ago

Hello dear friends.

  Im having a problem with someproperties in footprints created by some colleagues loooong time ago.

  In the footprint there was created a property called Revision as string containing the date of creation. Now we have done a mayor cleanup and entered footrpints in a database with Revision as integer fourthrunning numbered. As string and integer is much different :-), we cannot load netlist into boards with old symbols.

  To solve the problem we need to do a skill that runs through the footprint library and "testing" all footprints for a property called Revision, and copy these files to a sub folder.

  Copying files and walking through the directory is not a problem, the problem is to find a property that i do not know where is attached.

  any clues anyone ?

Sincerely
  Klavs Rommedahl.

  • Sign in to reply
  • Cancel
  • Ejlersen
    Ejlersen over 15 years ago

    Hi Klavs

    I would say that if you open a .dra file and run x=axlDBGetDesign() then x->prop->?? should show you revision if it exists.

    If not, please send me a sample .dra file and I'll see what I can do.

    Best regards

    Ole

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • RFDTeradyne
    RFDTeradyne over 15 years ago

     Klavs,

    If the problem is a type mismatch of the property between the old and new symbols, you should be able to retain the type as "string" in the new ones. You will see a integer represented as characters. Unless you are doing math, this should be OK.

    You can use extracta instead of skill.  The control file looks like:

    BOARD

    REVISION (or whatever your property name is)
    END

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Romme
    Romme over 15 years ago

    Many thanks to both. I'm embarrassed as i actually got this working for some time ago, had a winter holliday and forgot everything :-).

     

    Maybe not the most beautyful or perfect solution, but it works...

     

        axlVisibleDesign(t)
        axlUIWRedraw(nil)

        prp = axlDBGetPropDictEntry("Revision")
        if( (prp != nil)
          if( (prp->dataType == "STRING")
            fprintf(oufi "%d \t %s \n", ++j, f_full)
          )
        )

      J is a counter to see how many with this property.

     

    Sincerely

      Klavs Rommedahl.

    • 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