delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2022/10/05/10:49:12

X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f
X-Recipient: geda-help AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20210112;
h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
:date;
bh=6FqrJi9EZdqpRcTsOn59O/zFd6XiTdTlLbu+oVqLgDE=;
b=gK3QJdIkSoPvCf4UqEmqP8c6UE3LdhMJEEnbTWwirMVWjqgJCUDLURZGrkMh0IwSlt
fWuzSGEaYyZuJIkulo/TxqyuPwGrJTKBTHCo96SbnicItxqIiD6vMHX2xoc3O9FKCZae
vU66nZPSavIfUILpR7hHeH6SozPTXyU+ka8ad172ZVp8i9/Cr18oudeHB5OpdPWjfi6n
UPA9aBIKPEuHJ1iL9WJfuKnqAnDc//iS7Vhhaz0qNU2o7Sfezen15qtEPP4scFAaBkkI
WtJRTuNwXAtV1Kg0dhJzYsVo0If+JtIlYa1z6lv6q+L5BW93lu3+BnJEzN8htEo4/aEB
h8mA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=to:subject:message-id:date:from:mime-version:x-gm-message-state
:from:to:cc:subject:date;
bh=6FqrJi9EZdqpRcTsOn59O/zFd6XiTdTlLbu+oVqLgDE=;
b=JDJuOjbyNITNtIivbMiWeg7Q7jvBpuokqalpvF7rVOztElCcZXi8PJ0Bo5o0yduLEX
5Hgi0QecBrYnKxmGqYMKZzYp8Pzly9LQMHhCwITawWeU//P1PbP3UjVT628EVkStCYa1
I4S7HMdY7vIN9A8aDy3IJeVNGxiQ2g4Me/uZwIVd+hkgBTNGXmy5uiE57ydjrgmMtMWO
eP7UEQ9IMdTi+ksFWwi265wNNxBT2EApFTD0x6flo3FKRwtWqjmIV4dmQd3nWP+21ssg
/fYLyUqw5Nu0C4t27oRIUIFote2M3s2YJp2IFs3BffDF4ev9YBAWrlf0KzqGcJoCd/Yf
y5Rw==
X-Gm-Message-State: ACrzQf0+vZIvb+PAxqbwvs0KehGzC13zN+W0WjMSUzSHaHsxEHCQtHZ4
PI5EKo/E15R5bN2mKKfYmP0gm+GTYvZ2pWWT2YwoeQn1m2I=
X-Google-Smtp-Source: AMsMyM4gRRcAr5AKnXaKTIqvFH7CB1ZgJwnazQ3NqSOpfSzMbrsEy3VtAgycunuvzze2uW3WChfF0GWorDQe3i94Bwo=
X-Received: by 2002:adf:d1ec:0:b0:22e:3341:a8cb with SMTP id
g12-20020adfd1ec000000b0022e3341a8cbmr2439wrd.151.1664980453779; Wed, 05 Oct
2022 07:34:13 -0700 (PDT)
MIME-Version: 1.0
From: "Richie (richardjmarini AT gmail DOT com) [via geda-help AT delorie DOT com]" <geda-help AT delorie DOT com>
Date: Wed, 5 Oct 2022 10:34:02 -0400
Message-ID: <CADaAk77o0KV1yFPR=PG3GBD0JsTXvja682fytW6eH5EQS7X_0w@mail.gmail.com>
Subject: [geda-help] Editing Symbol Attributes
To: geda-help AT delorie DOT com
Reply-To: geda-help AT delorie DOT com

Hello,

I'm learning how to make symbols in gschem and am reading the
documentation about the various attributes each symbol should contain.
I had added some hidden attributes when creating my symbol but I can't
figure out how to edit these attributes after I've added them to the
symbol.  I can edit the ones I've added to the various pins but not
the ones that apply to the entire symbol itself.  When creating a
symbol there only seems to be the single attribute editor which
doesn't show a list of the existing attributes. I can only seem to add
new attributes.  Only when editing in the schematic do I find a way to
list all the attributes of a selected symbol.  Is there a way to see
all the attributes of a symbol when creating/editing the symbol itself
(not the schematic but when editing the .sym file I created).  gattrib
program also only seems to operate on the schematic.

 For example, pasted below is a sample symbol file I created. if I
wanted to edit the footprint attribute when editing this .sym file in
gschem how would I do that?

v 20130925 2
P 1400 500 900 500 1 0 0
{
T 1400 500 5 10 0 0 0 6 1
pintype=out
T 1400 500 5 10 0 0 0 6 1
pinseq=2
T 1145 595 5 10 1 1 0 6 1
pinlabel=output
T 1295 545 5 10 1 1 0 0 1
pinnumber=2
}
P 1400 300 900 300 1 0 0
{
T 1400 300 5 10 0 0 0 6 1
pintype=in
T 1400 300 5 10 0 0 0 6 1
pinseq=3
T 1145 95 5 10 1 1 0 6 1
pinlabel=input
T 1295 45 5 10 1 1 0 0 1
pinnumber=3
}
P 1400 800 900 800 1 0 0
{
T 1400 800 5 10 0 0 180 2 1
pintype=pwr
T 1400 800 5 10 0 0 180 2 1
pinseq=1
T 1145 895 5 10 1 1 0 6 1
pinlabel=shield
T 1295 945 5 10 1 1 0 0 1
pinnumber=1
}
B 300 500 100 200 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
L 700 300 600 400 3 0 0 0 -1 -1
L 500 300 600 400 3 0 0 0 -1 -1
L 900 500 900 300 3 0 0 0 -1 -1
L 900 300 1000 400 3 0 0 0 -1 -1
L 900 300 800 400 3 0 0 0 -1 -1
L 700 300 900 300 3 0 0 0 -1 -1
L 900 800 400 800 3 0 0 0 -1 -1
L 400 700 400 800 3 0 0 0 -1 -1
T 0 100 8 10 1 1 0 0 1
refdes=CONN?
T 200 -299 8 10 0 0 0 0 1
footprint=thonk
T -91 -57 8 10 0 1 0 0 1
device=none
T -91 -57 8 10 0 1 0 0 1
numslots=1
T -91 -57 8 10 0 1 0 0 1
graphical=1
T 100 700 9 10 1 0 0 0 2
Thonk

T -91 -57 8 10 0 1 0 0 1
slotdef=1:1,2,3

Thank you kindly,
-richie

- Raw text -


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