delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2020/09/26/09:10:56

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Sat, 26 Sep 2020 14:51:08 +0200 (CEST)
From: Roland Lutz <rlutz AT hedmen DOT org>
To: "Britton Kerin (britton DOT kerin AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
Subject: Re: [geda-user] how to pass extra attributes from gschem to pcb
In-Reply-To: <CAC4O8c9gZrEbte5fDSFDfV8QLPzUX4hhX4NaTkccDUtv8mwNUw@mail.gmail.com>
Message-ID: <alpine.DEB.2.21.2009261440060.21624@nimbus>
References: <CAC4O8c9gZrEbte5fDSFDfV8QLPzUX4hhX4NaTkccDUtv8mwNUw AT mail DOT 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

Hi Britton,

On Fri, 25 Sep 2020, Britton Kerin (britton DOT kerin AT gmail DOT com) [via 
geda-user AT delorie DOT com] wrote:
> I know how to attach attributes in gschem and pcb (e.g. in pcb by
> selecting element then doing :Attributes(Element)).  Is there a way to
> set an attributes in gschem st File->Import Schematics in pcb will
> automatically produce an element with an Attribute line (e.g.
> Attribute("in_current_build" "no")) like what the pcb
> :Attributes(Element) command produces?

there is no explicit way to do this, but you can edit the list of exported 
attributes in the `pcbfwd' backend to include arbitrary attribute names.

By default, the following attributes are exported to PCB:
   - device
   - manufacturer
   - manufacturer_part_number
   - vendor
   - vendor_part_number

Roland

- Raw text -


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