• 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. Find and Replace Text Utility

Stats

  • Replies 9
  • Subscribers 162
  • Views 19244
  • Members are here 0
More Content

Find and Replace Text Utility

vramanan
vramanan over 15 years ago

Hi

Warning: This is a partial code but does the work

after loading type "te" on the allegro command  window, when you choose a class/subclass, the grid will show all the available text in those layers(go up and down on the subclass to refresh the text)

The color button next to subclass will turn on/off that particular layer(thanks to dave elder's code)

When you click on a text in the gird, it will show up in actual text, you can change it there and press tab and it will be updated on the grid as well as the actual text

 For now I kept minium characters to be searched as 3, type it in the find box and press find button, this will only list those has the find pattern

 (find in all layers is not yet implemented, plan to show the layers in the second column)

type the new pattern on the Replace text and press Replace All, this will replace

(this funtion is incomplete because I am stuck at not able to refresh the grid, I know what's happening but I am little lazy to code it now

the dbids gets removed after replace function, I got to refind them and update)

 

Many Many thanks to Dave Elder since I am just improvising lot of his functions

I appreciate any feedback and comments, I welcome anyone willing to code further, I only wish me being indicated of the changes and willingness to share some code

 

regards

Venkata

  • Sign in to reply
  • Cancel
Parents
  • TommyBrunet
    TommyBrunet over 12 years ago

     Venkat,

     

    Tried skill today and it found all but one instance, board Geometry/Tooling_Corners.  It is buggy, and the instance-per-layer is not working.  Overall a good time saver though!

     

    Tommy

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

     Venkat,

     

    Tried skill today and it found all but one instance, board Geometry/Tooling_Corners.  It is buggy, and the instance-per-layer is not working.  Overall a good time saver though!

     

    Tommy

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
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