Posted on behalf of Jim Granville.as we lost all comments in moving this to the discussion forum.
Depends on how many you need to do, and how often ?
* For just a few, you can copy/paste one element at a time, from Excel, directly into SCH (or PCB) Attribute editor.
[ Pair-copy using ^C ^V ^X ^V can get you two items with one window change ]
* For larger blocks, the Library Part Edit allows Excel Multi-line Paste (tab+CrLf delineated blocks )
That means you needs to SaveToLib (or have your lib already in Sync), Block-paste modify the Lib parts needed, and then do UpdateFromLib with Update Attributes not in design = Y
* For often, and very large changes, you could look at the PADS ASCII and PADS ECO formats and create your own external script.
Takes a couple of hours to write and test the Script, but then you can manage frequent and global data set sweeps.
- In Logic ASCII Files, the Attributes have a Line Counter in the PART heading and then N lines of Attributes.
To add new Attr, increase that Count Value, and insert new Attr lines for each part needed.
- or the simpler ECO ASCII import may give enough scope. An example ECO file & ECO commands is
D1 LED LEDAK
*DEL_ATTRIBUTE* PART C8
*DEL_ATTRIBUTE* PART U5
*SET_ATTRIBUTE* PART U4
You can see the commands for *DEL_ATTRIBUTE* and *SET_ATTRIBUTE* and those can add sets of attributes to designated RefDes.
The PADS Logic inbuilt Script engine, also has an example (in the help under Attributes.Add) of adding new Attributes to a given RefDes, and that in-built script can read an external csv file, for a list of what to add where.