From bb95ca2966bbe7c497a87aac5e40c2ec6803a988 Mon Sep 17 00:00:00 2001
From: Seth Hillbrand <seth@kipro-pcb.com>
Date: Fri, 24 Sep 2021 10:43:38 -0700
Subject: [PATCH] Make MW footprints proper attrib

---
 pcbnew/microwave/microwave_footprint.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pcbnew/microwave/microwave_footprint.cpp b/pcbnew/microwave/microwave_footprint.cpp
index 27099604c6..1a85a98f50 100644
--- a/pcbnew/microwave/microwave_footprint.cpp
+++ b/pcbnew/microwave/microwave_footprint.cpp
@@ -190,6 +190,8 @@ FOOTPRINT* MICROWAVE_TOOL::createBaseFootprint( const wxString& aValue,
 
     FOOTPRINT* footprint = editFrame.CreateNewFootprint( aValue );
 
+    footprint->SetAttributes( FP_EXCLUDE_FROM_POS_FILES | FP_EXCLUDE_FROM_BOM );
+
     if( aTextSize > 0 )
     {
         footprint->Reference().SetTextSize( wxSize( aTextSize, aTextSize ) );