From e1c9de67d8344ac84f59eddfe302f483af0f5d9e Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sat, 23 Aug 2025 19:39:03 +0200 Subject: [PATCH] Adding sample via PCell for Python --- src/lay/lay/layMacroTemplates.qrc | 1 + src/lay/lay/macro_templates/index.txt | 1 + src/lay/lay/macro_templates/pcell_sample_python.lym | 1 + 3 files changed, 3 insertions(+) diff --git a/src/lay/lay/layMacroTemplates.qrc b/src/lay/lay/layMacroTemplates.qrc index 79bdbc8ad..3976c564d 100644 --- a/src/lay/lay/layMacroTemplates.qrc +++ b/src/lay/lay/layMacroTemplates.qrc @@ -18,5 +18,6 @@ macro_templates/qt_dialog_python.lym macro_templates/pcell_python.lym macro_templates/pcell_sample_python.lym + macro_templates/via_pcell_sample_python.lym diff --git a/src/lay/lay/macro_templates/index.txt b/src/lay/lay/macro_templates/index.txt index a446546d7..a6ced11fb 100644 --- a/src/lay/lay/macro_templates/index.txt +++ b/src/lay/lay/macro_templates/index.txt @@ -38,6 +38,7 @@ pcell_python.lym # Samples :Samples;; pcell_sample_python.lym +via_pcell_sample_python.lym qt_designer_python.lym qt_dialog_python.lym qt_server_python.lym diff --git a/src/lay/lay/macro_templates/pcell_sample_python.lym b/src/lay/lay/macro_templates/pcell_sample_python.lym index f2a60bdbc..775f3241c 100644 --- a/src/lay/lay/macro_templates/pcell_sample_python.lym +++ b/src/lay/lay/macro_templates/pcell_sample_python.lym @@ -6,6 +6,7 @@ false false + pymacros python import pya import math