delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2020/08/30/18:29:34

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Mon, 31 Aug 2020 00:08:24 +0200 (CEST)
From: Roland Lutz <rlutz AT hedmen DOT org>
To: "N (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
Subject: Re: [geda-user] gschem versatility, variants in sub folder
In-Reply-To: <20200830224141.8cbfd78e54303df96beb9f1b@gmail.com>
Message-ID: <alpine.DEB.2.21.2008310002570.9636@nimbus>
References: <20200830203838 DOT 3bafa159a451192936d6e271 AT gmail DOT com> <alpine DOT DEB DOT 2 DOT 21 DOT 2008302123420 DOT 3137 AT nimbus> <20200830224141 DOT 8cbfd78e54303df96beb9f1b AT gmail DOT com>
User-Agent: Alpine 2.21 (DEB 202 2017-01-01)
MIME-Version: 1.0
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

On Sun, 30 Aug 2020, N (nicklas DOT karlsson17 AT gmail DOT com) [via 
geda-user AT delorie DOT com] wrote:
> A few variants there schematics are the same on top but different at 
> bottom level of hierarchy.

You can put the bottom schematics for each variant into a separate 
directory and then add only one of these directories as a source library:

   top_1.sch
   top_2.sch
   top_3.sch
   variant_A/
     bottom_1.sch
     bottom_2.sch
   variant_B/
     bottom_1.sch
     bottom_2.sch
   variant_C/
     bottom_1.sch
     bottom_2.sch

and then

(source-library "variant_A")
   or
(source-library "variant_B")
   or
(source-library "variant_C")

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019