Device name Bill of material

Hi,

I tried using the "Device" or "name" attributes, but the corresponding BOM column is always empty.

After analyzing the .lp files in my local library (specifically the dev folder and the device.lp files), I noticed that the device name does not belong to an attribute. It is only used to identify the device inside the library and therefore cannot be exported to the Bill of Materials.

My goal is to display the device code in the BOM. I understand that this can be achieved by creating a custom attribute (for example DEVICE_CODE), but in order not to duplicate informations it would be very useful to be able to select the device name directly, or to expose it as a read-only attribute.

Is there currently any way to achieve this, or could this be considered as a future feature in LibrePCB?

Gian Carlo

Hi,

I’m not sure if I understand correctly. If you want the name of the device library element in the BOM, the corresponding attribute is DEVICE:

Is this what you are looking for?

Hi,

yes is this ! I had to write it in capital letters :slight_smile:

Thanks

1 Like