X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Injected-Via-Gmane: http://gmane.org/ To: geda-user AT delorie DOT com From: Kai-Martin Knaak Subject: Re: [geda-user] ActionResub Date: Fri, 14 Jun 2013 20:31:15 +0200 Organization: Institut =?UTF-8?B?ZsO8cg==?= Quantenoptik Lines: 38 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet AT ger DOT gmane DOT org X-Gmane-NNTP-Posting-Host: bibo.iqo.uni-hannover.de User-Agent: KNode/4.4.11 Reply-To: geda-user AT delorie DOT com Nathan Stewart wrote: > Someone (I thought it was you actually) suggested when laying out > circuits with many repeating subcircuits, to create a dummy schematic > containing nothing but one instance of the subcircuit you wish to > layout. Usually, this is not a dummy circuit, but the sub sheet actually in use for the project. > Do your layout on this dummy schematic, which will have Sn/ > prepended to the refdes. ack. > Then in your real schematic you can 'load file > to buffer' and paste instances of this dummy layout, and then rename the > refdes to the correct subcircuit prefix. My work flow replaces/renames before load-to-buffer. This is done by simple three line bash script, which repeatedly applies the tr command on the prototype layout and saves to dummy layout files. > This still works for that, since you can: > > resub S1/ S3/ and it well rename all selected instances. But now I can > just layout the subcircuit, and do > :resub ^ S3/ > > and it will prepend S3/ to all subcircuit elements Ok, now I seem to understand. It is nice to be able to deal gracefully with repeated patttens purely with on board tools of pcb. ---<)kaimartin(>---