From 2f8ee8bc680da4d4056defc2cc0a7c5f7c709e69 Mon Sep 17 00:00:00 2001 From: Caleb Whiting <686845-szaver@users.noreply.gitlab.com> Date: Wed, 9 Oct 2024 17:05:55 -0500 Subject: [PATCH] Fix LCSC numbers appearing on silkscreen --- helpers.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/helpers.py b/helpers.py index 40ed1f3..bcd96a2 100644 --- a/helpers.py +++ b/helpers.py @@ -141,6 +141,8 @@ def set_lcsc_value(fp, lcsc: str): lcsc_field = field.GetName() fp.SetField(lcsc_field, lcsc) + field = fp.GetFieldByName(lcsc_field) + field.SetVisible(False) def get_valid_footprints(board): """Get all footprints that have a valid reference (drop all REF**)."""