Expedition PCB: Bill Of Materials - Just another BOM script

Document created by sandy_bottani on Aug 9, 2011Last modified by sandy_bottani on Aug 9, 2011
Version 3Show Document
  • View in full screen mode

The script creates a Bill Of Materials file ..\PCB\pcb_design_name_bom.txt
Sorted first by Part Number then by Reference Name.

The content will look like the following lines:




1                0801XXX              1          U1
2                74XXX00DIP           2          U11 U12
3                820.0009             11         D1 D2 D3 D4 D5 D6
                                                 D7 D10 D11 D12 D13
4                R_218R_MR25          3          R1 R2 R12



This is the same as Expedition - Output - Bill Of Materials... can create. Except, it does not need user intervention.
As the intention for making the script was the possibility to let it run in overnight tasks for several designs, no prompt

or further information will appear during execution.

Different output formats like tab delimited or space formatted, reference names in a single line or in blocks (sorted ascending),

name of the title items, distance between them can be choosed, simply by setting of a variable value at the beginning of the script.