Hello Daniel,

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.

                                        Regards,
                                        Tim

+--------------------------------+-------------------------------------+
| R. Timothy Edwards (Tim)       | email: t...@opencircuitdesign.com    |
| Open Circuit Design            | web:   http://opencircuitdesign.com |
| 19601 Jerusalem Road           | phone: (240) 489-3255               |
| Poolesville, MD 20837          | cell:  (408) 828-8212               |
+--------------------------------+-------------------------------------+

_______________________________________________
Xcircuit-dev mailing list
Xcircuit-dev@opencircuitdesign.com
http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev

Reply via email to