Part is exported when DNP is checked
Description
With the new attribute field of "DNP" a part should not be exported to the BOM.
Exported BOM
Steps to reproduce
- Select DNP in Schematic Editor
- Export the BOM (I used "bom_csv_grouped_by_value")
KiCad Version
Application: KiCad Schematic Editor x64 on x64
Version: (7.0.0-rc1-56-g82a1175d72), release build
Libraries:
wxWidgets 3.2.1
FreeType 2.12.1
HarfBuzz 5.0.1
FontConfig 2.14.1
Platform: Windows 11 (build 22621), 64-bit edition, 64 bit, Little endian, wxMSW
wxWidgets: 3.2.1 (wchar_t,wx containers)
Boost: 1.80.0
OCC: 7.6.2
Curl: 7.86.0-DEV
ngspice: 38
Compiler: Visual C++ 1934 without C++ ABI
Build settings:
KICAD_SPICE=ON