Tim Edwards <t...@opencircuitdesign.com> wrote: > > I'm using xcircuit to generate a pcb netlist. I'd like to also > > generate a bill of materials. I don't think that this is possible out of > > the box, but it may be possible with a script. Is there an example > > script which loops for all of the symbols and looks for a specially > > named info label or parameter? > > This should be possible out-of-box. > > What you want is an info label in every symbol with text something like > "bom:" followed by whatever you want the BOM to say for that symbol. > There will be no menu item button for it, but if you want to generate > the BOM, you can bring up the command prompt window and type > "netlist write bom txt" where the 3rd argument is the infolabel string > prefix that it uses to determine what to output, and the 4th argument > is the filename suffix to use for the output.
Excellent! That's a pleasant surprise. It will take a little effort to update my symbols, but this will do exactly what I want. -- Daniel _______________________________________________ Xcircuit-dev mailing list Xcircuit-dev@opencircuitdesign.com http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev