PDA

View Full Version : Obsolete Parts Script


randychase
10-17-2002, 11:11 AM
From Sorin Stefan

randychase
10-17-2002, 11:12 AM
This is a script that will replace PART-TYPES with other PART-TYPES in a schematic.
They should be equivalent, meaning that the schematic symbol is the same.
We use it here to get rid of the obsolete parts in the old schematics, most of them 5% resistors, and replace them with 1% resistors. But it should work with IC's as well, as long as they are equivalent.

Read the comments at the top of the script, I tried to make them as clear as my English allows :)

Install the *.BAS file as any other script file and show it in the Scripts menu (read the help file in PowerLogic if you don't know how).
You also need a look-up table, Excel *.XLS type of file , in a certain format, with a certain name and placed in a certain place. Again, read the comments, they should tell you what and where.

Feel free to hack it, to tweak it according to your needs. Because it's very customized, you may have to do a lot of tweaking. There will be no maintenance from my side, the script comes to you "AS IS".

If you screw something, it's only your fault. Test it before on several schematics. I did and it's working ok for us here.
If it's working ok for you too, I take all the credit and all the beer, when possible :)