Hello,Any easy way to replace a via in a design without the use of skill.Thanks,Mihai
Tools->Padstack->Replace, then put in the old and new padstack names. Can do for the entire board or just a single via. You can also record these steps in a script and assign it a keyboard shortcut.G'Day,R²
I tried the first suggestion and it worked.I have created a .scr per your suggestion, but when I run it the script replaces all the vias with the desired padstack.
On the script be sure to check "Macro record mode".When recording the script: after inputing the padstack names and before clicking on "Replace", check the box "Single via replace mode".
when I try to do that the Single via replace mode is grayed out.
That's different from the version of 15.5 I'm running. As soon as I enter the "Old" padstack name, that box isn't greyed out any more. That's why I said to select that box after entering your padstack names.
When I try to replace the padstack by clicking on via to grab the old pastack info the sigle via replace mode is not greyed out, but when I try to manually entering the old and new padstacks the single padstack replace is greyed out.The reason why I manually need to manually enter the padstacks is for the script to record padstacks instead of my x/y coordinates.Can you by any chance send me this script and I can try and see if it works.You can use any two padstacks and I will replace yours with mine.Thanks,Mihai
The reason the box stayed greyed out is because you didn't pick the old padstack in the board file instead of using the list. Try the following script. Replace "my_new_padstack" with your new padstack (note that the padstack name must be in quotes). When you run the script, the command window will say "Pick origin for macro". At this point you pick the center of the via you want to replace (your grid must be fine enough to accurately pick this via). The via will be replaced with the padstack name in the script file ("my_new_padstack" in my example). If you're doing multiple replacements, you may want to turn off On-Line DRC, then turn it back on when you're done.# Allegro script# start time: Tue Apr 11 17:09:25 2006# Version: 15.5 s047 (v15-5-81BV) i86version 15.5
setwindow pcbtrapsize 155# Macro file: coordinates are relative to pick on replay.replace padstack pick_originpick rel grid 0.00 0.00setwindow form.miniFORM mini newname_browse fillin "my_new_padstack"FORM mini viamode YES FORM mini replace setwindow pcbdone
# stop time: Tue Apr 11 17:09:55 2006
Randy,It worked.Thank you so much.Mihai
I think you can also use the group edit to replace the via in area.