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
There was a bug, which I corrected it
Here is the updated code
I will update the code again with all the features later
In reply to vramanan:
This is working now, I fixed all the issues and here is the completed tool
skill load "te.il"then typete Scenario 1: Find All text in a given layer a. Select the Active class from the top left pull Down b. Select the Subclass you want the texts to be foundAfter that the Grid will update the rows with all the found text on the 1st column and their layer on the 2nd columnYou can click on any found text on the grid which will be editable on the "Active Text" box below the gridAfter you edit it the GRID will update the values on that particular text as well as grid displayScenario 2: Find and Replace a Specific Text in a given layer a. Select the Active Class/Sub Class from pull-downs b. Type the key you want to be found in the find box (minium 3 characters) c. Press "find" d. Type the Term you want to be replaced with on Replace box e. Press "Replace All" p.s. selecting a found text and editing in the active text will not update the grid properly I am lazy to think all the possibilities Scenario 3: Find and Replace a Specific Text in All Layers a. Type the key you want to be found in the find box (minium 3 characters) b. Press "find" c. Type the Term you want to be replaced with on Replace box d. Press "Replace in All Layers" p.s. selecting a found text and editing in the active text will not update the grid properly I am lazy to think all the possibilities####### Usage ########I created the initial GUI with the help of KODA form designer and my XML2BNF(xml to skill) translatorsearch for xml2bnf in the cadence community forumLots of Thanks to Dave Elder for his functions and examplesThis code scores 95 marks with sklintAny comments and suggestions are welcome and contact me at vramanan at infinera.com
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!
In reply to TommyBrunet:
That was the initial release 2 years ago, I have fixed the bugs and updated the code
here is the updated code
In reply to vramananx:
Actually, the code is working now; I think I had a database environment issue as I edited a file originated in Allegro with my OrCAD tool. Thanks for the response!
Hey man (vramananx), you did a great job. But, I have the same instance only for one board so far, for the rest works fine.
E- *Error* rexExecute: argument #1 should be either a string or a symbol (type template = "S") - nil
Please help, it would greatly benefit to our team's happiness.
Do you have a skill file that will look for a single text?