X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.7+dev X-Exmh-Isig-CompType: repl X-Exmh-Isig-Folder: inbox From: "karl AT aspodata DOT se [via geda-user AT delorie DOT com]" To: geda-user AT delorie DOT com Subject: Re: [geda-user] lepton netlist In-reply-to: References: <20240424112803 DOT C0DAC81AB8A3 AT turkos DOT aspodata DOT se> <20240424134027 DOT DA8B681AB8A3 AT turkos DOT aspodata DOT se> <20240424211535 DOT 2838281AB8A3 AT turkos DOT aspodata DOT se> Comments: In-reply-to "=?utf-8?Q?Stephan_B=C3=B6ttcher?= (geda AT psjt DOT org) [via geda-user AT delorie DOT com]" message dated "Thu, 25 Apr 2024 20:50:48 +0200." Mime-Version: 1.0 Content-Type: text/plain Message-Id: <20240426203443.E9A1D81AB8A3@turkos.aspodata.se> Date: Fri, 26 Apr 2024 22:34:43 +0200 (CEST) X-Virus-Scanned: ClamAV using ClamSMTP Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Stephan: ... > > Soo, what do you use the substitution for ? > > My boards often have a large number of instances of the same circuit, > with different gain configurations that are configured with parameter > attributes attached to the subschematics symbol instances to change some > resistor values. ... I realized another way to do this. I have a program which collects ready made sub pcb files for a subpage. See: https://www.delorie.com/archives/browse.cgi?p=geda-user/2022/11/06/03:11:40 https://www.delorie.com/archives/browse.cgi?p=geda-user/2023/03/14/19:50:18 It takes ready made sub pcb files for a design and prepends the source syms refdes value to the contained elements and writes that out to the current directory, one file per source symbol. I could update that program to also change an elements value and solve your case in that way. That wouldn't help with bom files, but it makes it esier to make a pcb design with many sub pages/subpcbs. It expects the sub pcb files to be in the same dir and have the same base name as the sub sch file. Since I mostly do two layer pcbs, it also produces an upside down version of each subpcb. Run it on the top sch file, start a new pcb with your desired dimensions, for each collected sub pcb file "add layout" and place the buffer. Then when all sub pcbs are placed, run e.g. lepton-sch2pcb and complete the pcb. Regards, /Karl Hammar