www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2016/04/11/04:46:10

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=date:from:to:subject:message-id:in-reply-to:references:mime-version
:content-transfer-encoding;
bh=TDqnsqjYC/Ish4CcYi5y+Q28DX7mjWhJtmcIgNIuTRU=;
b=b/w/ync10t2JXFpM1C4UK3vrIqpySpr2XDICpn+yS5FU+9w70YutdJ93lJSpv3yWyY
ZAVtdy3RvKg5tHaVShLvEGld6HwmgjDhiFl69URRPQUJuilLeVE5wM/DGvS0gXo8qOV6
B+nPYwgnJAPoKC147i58X9MjGBw31zFzKHKaW7263GE9emSdoGZ0XsyRD1MN590vm2M8
ujBQh0O2fTcW524wm2Z98cW/dIV7nipk35RQ2O+6hfiPozv+m5IanpIBuORhN6iZi8Tc
scXuJEHCAWAFiwg1MTCU5UxTTKPlzrR886mB4Iiyw7Q6t5CjF/NiGRDzFKu2aUpcQHyE
B1ig==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to
:references:mime-version:content-transfer-encoding;
bh=TDqnsqjYC/Ish4CcYi5y+Q28DX7mjWhJtmcIgNIuTRU=;
b=KuFYsAPl6SGL3FSwztEUh+S+7TgaK3CY2QvteghFmuHzWZgE7wnobkP3NrRT5ETpC1
GFmtkW0L0vah0Aw1ye2xYAuuurqS8K1cQ7skCATQuGVz5hGbDF+miE3dM+9phpg4muN5
115FLIFGns60rGDyleZDye3RfHkKtUXGaHdjohZGCsSZqPpOqbUhAF5tTfkqybEM+3Ik
CsCX2z7HSfaJ2VFVfi3sbSEbvzCzIhv/i0DOReqe76/RfK9XLiIQ3Pk1w8M70HgXAQHA
ytS05cqN5aHPKny68iK2H6dklLsPAlM5NARD3AfwChElBQ6//H78ebSMxqYRNGe2nK8o
VI6Q==
X-Gm-Message-State: AD7BkJKnyXY3pZVf2XbCl8TvMQ0LgDNdnn5yB2IoJx5Wj6C5XblK1zAkQUsGUCaSxXRmPA==
X-Received: by 10.28.188.197 with SMTP id m188mr16253378wmf.92.1460364308571;
Mon, 11 Apr 2016 01:45:08 -0700 (PDT)
Date: Mon, 11 Apr 2016 10:45:04 +0200
From: "Nicklas Karlsson (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] gschem attribute list, value list
Message-Id: <20160411104504.a4ce38adaa9d03992ad996da@gmail.com>
In-Reply-To: <570B1B35.5030503@iee.org>
References: <20160324143854 DOT 1a1535a687a8c9fc7ff0bd01 AT gmail DOT com>
<ned8g1$d6e$1 AT ger DOT gmane DOT org>
<570B1B35 DOT 5030503 AT iee DOT org>
X-Mailer: Sylpheed 3.5.0beta1 (GTK+ 2.24.25; x86_64-pc-linux-gnu)
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

> > Ack.
> > The symbols of my gschem libraries include an attribute "footprints"
> > with a comma separated list of suggested footprints. Similarly, 
> > they may contain an attribute "values" with a list of preferred 
> > values. The GUI could present these list attributes as a drop-down 
> > list for the user to choose from.
> >
> > See
> > http://www.gedasymbols.org/user/kaimartin_knaak/essential/essential.html
> > section "List attributes"
> >
> Does it actually work in a compatible manner to list alternate
> footprints and propagate through gsch2pcb and PCB ? I've long tried to
> find a way to do this that works, but nearest I've come to, is create
> footprint2, footprint3 attributes to avoid conflict? If there was a
> better way, I'd like to know!

The comma separated list should propagate fine through gsch2pcb and PCB although as I discovered earlier parantheses caused import schematic to crash but this considered a bug.

The comma separated will be used only for a list of values to chose from and the chosen value is copied to the ordinary attribute.

Basically an extra attribute with an "s" at the end for, footprint, value or whatever ordinary attribute name is used to store a list of possible values. It should be rather straightforward to implement whenever there is enough time. It will work great until someone invent something better if at all.


Nicklas Karlsson

- Raw text -


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