Hi,
Has anyone found out a way to export a BOM including only SMT-components for a mixed PCB ?
I want to send this BOM to a PCBA subcontractor for quotation.
The design has a mix of SMT and TH components.
We will populate the TH components ourself afterwards.
BR/Nissebola
BOM export only SMT
Re: BOM export only SMT
Now you can only edit BOM file in the text editor.
But the similar feature already developed.
You will be able to delete the some components from BOM list before exporting.
It will be available in the next update.
But the similar feature already developed.
You will be able to delete the some components from BOM list before exporting.
It will be available in the next update.
Re: BOM export only SMT
The way I do that is using a python script.
But basically the idea is the following.
1. For each component, create an additionnal field in the property to define if the part is SMT or TH.
2. Within diptrace with the BOM tool, you add the column with the parameter LANDPATTERN TYPE.
3. Export the BOM file as .csv.
4. Load the .csv with your python script, make your script check if the "landpattern type" is set to SMT or TH.
If set to TH, make you script change the quantity to 0.
Make you script write the csv file as an excel file.
There plenty of ressources on how to read/write/modify .csv file and .xlsx file.
It needs some work but once it works, it works fast and you can modify the behaviour since its yours.
But basically the idea is the following.
1. For each component, create an additionnal field in the property to define if the part is SMT or TH.
2. Within diptrace with the BOM tool, you add the column with the parameter LANDPATTERN TYPE.
3. Export the BOM file as .csv.
4. Load the .csv with your python script, make your script check if the "landpattern type" is set to SMT or TH.
If set to TH, make you script change the quantity to 0.
Make you script write the csv file as an excel file.
There plenty of ressources on how to read/write/modify .csv file and .xlsx file.
It needs some work but once it works, it works fast and you can modify the behaviour since its yours.
You do not have the required permissions to view the files attached to this post.
Re: BOM export only SMT
Thanks SoundMod,
I´ll follow your advise while waiting for the coming up version.
BR/Nissebola
I´ll follow your advise while waiting for the coming up version.
BR/Nissebola
BR/Nissebola
Re: BOM export only SMT
That's good news !

Could we get a glimpse of what's coming for the next minor update ?
Re: BOM export only SMT
Probably will be add the next features:
-"BOM" in PCB Layout
-"Interactive BOM and export HTML" in PCB Layout
-"Keep Raster Image" while placing a picture
-"Assembly Variants" in Pick and Place
-3D Models for all SMD packages in Pattern Generator
...
The full list will be after updating.
Re: BOM export only SMT
Ohhhh "Assembly Variants" that is nice

I'm eager to see what "Interactive BOM" is all about and to see to full list of improvment.
Cheers