www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2016/08/23/15:14:47

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=sbcglobal.net; s=s2048; t=1471979605; bh=F4oEfb16/ILzMebEfnIVXRnRjt/fB73R7h0I7BgGpXw=; h=Subject:To:References:From:Date:In-Reply-To:From:Subject; b=IPP6D36lVKz9EwqDPu3Cld3JjeICSNXboV9ehVkJ0BF5qbfTYBN2/vVfsh42BhhJ6gRAllJZKflVgR2RPE0IRyJpied07sPXe2I7mxH/Z080nZNO1e1GnQRydQrNRSir3zdKO0//wtC1VNnlAJOE59esB+YsqilbXcEECG794PIpSdpVhiBH6ztq62X7U1tgS5CLghXcPRZVM5LZZZ416O9j/VuHvkbRnRVqX9Q1rT+Nmrn1+oskj7xhm/r+Zp4KfH8ZB4ptWVACJqjazqbU8/aoA0Q6Ycp6RDwNqpPba/LugNn56CAx1jVoLPKkk+NzDkhlIgrLHDFYu3Wh5snR/g==
X-Yahoo-Newman-Id: 992380 DOT 66303 DOT bm AT smtp120 DOT sbc DOT mail DOT gq1 DOT yahoo DOT com
X-Yahoo-Newman-Property: ymail-3
X-YMail-OSG: mrk9xFYVM1nBXtFm_lYnLNj57zrv89BJKBQ99ONOXObWL8j
udKOmPX9qyMk0o6SnATpb2WH2ps1ljeq1YUqkJS8CWNXDLoe0Z0BL9R4Mmsb
tx4yoS9kwIrJ8mj26unAb5Qx_lSnnCXv9ixM5_9mlfx0fvlfkPrqfrTbkT6f
UZ8sFMNRQrOnzPKOJUAsFm71ITmjX5VMjnfkJnY0CHlwcoGh3ZmiVkQzO3gO
EZQCtl.uhsfgtAf7jQ2Eg4WvcWZfG3FK1ne6RQclSyAlYzlBrfmvpjSOM0LJ
sRhhFI.qixAJkSh93g1hnfcy5Gxj7fr6KsWocHtfZnQdPTclAwgotYRkkMfc
KmhBUvoQhZg7oOu6uAEqSk3Sk8n8Ia7OyJMssIK99yFrDtJ5zL7B.651pmHH
kynVMgKk1LjFsOUSAAXqSWp8ZUh2sn2HUfaUEujHMo639B7gWJw6YKJ9nJfr
onYN9f5aS0hZJZRykHlFJcfyuuCoP9X9C38NbMmx8FTTZkTfae.ivIQufueX
ltBIXkJkJ.KaNZYSPJuBTyqsfnhUk7U9xpa3uQCrx1PMFzP5Zj1O8xgOQjMh
DyQ--
X-Yahoo-SMTP: xaem6kSswBCHwCBMr0jlCBIQdXYGmRxsm8OX6ACyP7Ho9Sk-
Subject: Re: [geda-user] Can an attribute be attached to text for later
inclusion in gnetlist backend?
To: geda-user AT delorie DOT com
References: <CAGde_xMkqgbbfH81MPOLPfTaui0wRvmUctk31r-eE3=fQ+U0pA AT mail DOT gmail DOT com>
<A9C29BBE-B381-4BD1-BD54-E0E27DF1307C AT noqsi DOT com>
<20160823053301 DOT 865f671a1b40b5a422e59ce7 AT gmail DOT com>
From: "Girvin R. Herr (gherr375 AT sbcglobal DOT net) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
Message-ID: <da433c1d-c711-e0d8-f9ff-a6e843bfe266@sbcglobal.net>
Date: Tue, 23 Aug 2016 12:09:23 -0700
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101
Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <20160823053301.865f671a1b40b5a422e59ce7@gmail.com>
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 08/22/2016 08:33 PM, Nicklas Karlsson (nicklas DOT karlsson17 AT gmail DOT com) 
[via geda-user AT delorie DOT com] wrote:
>>> Hi,
>>> I wonder if there is a way to attach an attribute to a block of text
>>> in gschem so that I can pick it out in the gnetlist backend.
>> You cannot, but attributes that aren’t attached to anything may be retrieved via (gnetlist:get-toplevel-attribute attribute).
> I thought I added attribute to text yesterday but then I check file in gedit attribute was there but as far as I could tell not attached to anything.
>
I have never tried to make existing text an attribute nor attach an 
attribute to it.  I suppose for the former, one could cut and paste 
existing text into an attribute text field, once the Add Attribute 
option was started.  I would suggest using the "Comment" attribute and 
search for it in the file.  "Comment" contains no intelligence to mess 
up the other apps.  I routinely add Comment attributes to symbols at the 
schematic level, such as labeling a pot as "VOLUME". That way, the text 
maintains its position relative to the symbol, no matter where it is 
moved.  Of course, that Comment can be moved relative to the symbol as 
needed.

Hope this helps.
Girvin Herr

- Raw text -


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