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=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=x+yTpyFeenYOlSelSOB4ufsrFsqKfK3rgRcFE1E137A=; b=QBqqcR4nG50pAvfoKsw9rDuTk5zGnp5E9D6T+FnOHNH5rmoZl4KuMIGaqScvf/aVF4 0CzYN+eQoUtcu/NS6jVykERf1uU4rWOJI5CDS7dQjUrfRZ7b0ubvfHjG4hDNsnvHShna 52Vs7WVZII4r4dx/MoMaS8jkJNUwbeyIZNaNaa4pH31bIZZI9g+erAlpIHEV3nwZs1X7 KDWAEhApNhOxmKRqRg62VOUVYebYtDTDICznV1XrfVjuh6kJLYYREyHbWf4SayNF1Nxm Qb18zByKuHEwJmpGBe9oKOzwmVxT5HTy4jpGXfltgSb85xfPf+3rbPjIUwOFMWnU4R3W +qzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=x+yTpyFeenYOlSelSOB4ufsrFsqKfK3rgRcFE1E137A=; b=J5vhTEexN2zy6DkzqY549X5AqJFGNxXz5xJhgZg4apV5rziWARUKjiii2WfbXyUFQT NvjRRblO0E9o5YOIcdoyvuhZZgTRilgo28dkRfhtp4neR8nYGCch4nolOtLcAva5lhHy B2nVOYESy2/3S3rWpBAsyGd+XC2IyQ1sNXujIM0yyffVE2JC4WoJ40NF0Uijo8kxiby5 dme0hbn2uIWt6AybOwK0yGVQppJqkk95kQkEJ6MyB3uDPKG/3S0K5EAErThm2INL9YaH 087s072ZT7cOBzTGdKg+lPxwH/cyoujpl2SHw19R36d0HFgSKRaCIRE4WWfzvEQGm+R2 TQbw== X-Gm-Message-State: AOAM531ay7o+kYdiUdxAoVy3o9jbovPFISKFDQZhvI+IbnFOcDBTFvi7 NBaEWoB2RknAFo20HSO+ikLAfT5YwSA6+QGU3me+GwmF+BQ= X-Google-Smtp-Source: ABdhPJxvQzLUFbbubebgi6IHhkUb33d587SDuhR322gTt4BHtFZeXHL4nsm3n51Pqe8vAx4mfFX+7fhdbJfj/Tjoknk= X-Received: by 2002:a5b:d44:: with SMTP id f4mr20015122ybr.153.1602289169329; Fri, 09 Oct 2020 17:19:29 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "Britton Kerin (britton DOT kerin AT gmail DOT com) [via geda-user AT delorie DOT com]" Date: Fri, 9 Oct 2020 16:19:18 -0800 Message-ID: Subject: Re: [geda-user] how to pass extra attributes from gschem to pcb To: geda-user AT delorie DOT com Content-Type: text/plain; charset="UTF-8" Reply-To: geda-user AT delorie DOT com On Sat, Sep 26, 2020 at 5:29 AM Roland Lutz wrote: > > 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 How would people feeling about adding something like misc or user_attribute_string (or something) to the list? It seems wrong to stuff misc. items in these specifically names things, and a single user-supplied string would work for my case at least. Britton