From c78a81aa568123e736279a0370c1d524a0c8e9d0 Mon Sep 17 00:00:00 2001 From: Intubun <41478036+Intubun@users.noreply.github.com> Date: Thu, 21 May 2026 10:37:45 +0200 Subject: [PATCH] fix(pcell): use magic::load to switch cell context before painting --- npm/examples/pcell-magic.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npm/examples/pcell-magic.tcl b/npm/examples/pcell-magic.tcl index 13ecac5d..a58b8c96 100644 --- a/npm/examples/pcell-magic.tcl +++ b/npm/examples/pcell-magic.tcl @@ -1,7 +1,7 @@ magic::tech load __TECH__ proc make_rect {name width height} { - magic::cellname create $name + magic::load $name magic::box 0 0 $width $height magic::paint m1 magic::save /work/$name