X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Originating-IP: 84.92.49.234 Date: Mon, 16 Apr 2018 08:57:51 +0100 From: Chris Green To: geda-user AT delorie DOT com Subject: Re: [geda-user] How to renumber connector pins, or resize a connector? Message-ID: <20180416075751.GF23841@esprimo> Mail-Followup-To: geda-user AT delorie DOT com References: <20180415161747 DOT GA7569 AT esprimo> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.1 (2016-04-27) 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 Precedence: bulk On Sun, Apr 15, 2018 at 08:08:44PM +0200, Richard Rasker (rasker AT linetec DOT nl) [via geda-user AT delorie DOT com] wrote: > Hi Chris, > > > Op 15-04-18 om 18:17 schreef Chris Green: > > I'm not sure whether this should be on the 'help' list as it's quite a > > simple question. > > > > Is it possible to renumber the pins on a connector, for example a > > header connector like header26-1.sym? I can see how to edit the text > > but it would be a bit laborious to change all 26 numbers individually. > > > > Or alternatively is it easy to customise a symbol like this to > > add/remove pins from it? > > Proceed as follows: > - Select the 'official' symbol in the library list, and drop it somewhere in > the work area. > - Left-click on the symbol (to select it), then right-click -> 'To symbol' > - Save the symbol in your local, writable symbol directory(*) under a > slightly different name (e.g. header26-3.sym) > > And now comes the fun part, the renumbering of pins: > 1. Choose Attributes -> Autonumber text > 2. After 'Search for', change 'refdes=*' to 'pinnumber=*' > 3. Change 'Selected objects' to 'Current page' > 4. Check 'Overwrite existing numbers' > 5. After 'Sort order', choose the desired renumbering scheme, e.g. from left > to right to have the left column renumbered to 1-2-3 etcetera, with the > right column 14-15-16 etcetera. > 6. Click Apply > 7. After 'Search for', change 'pinnumber=*' to 'pinseq=*', and click Apply > again. Then repeat once more for 'pinlabel=*'. > 8. Save the modified symbol. > > Also see http://wiki.geda-project.org/geda:gschem_ug:autonumbering > > *: This should be somewhere in your home directory, and a symlink from > /etc/gEDA/sym should point here. > Thank you Richard, and Karl. I'm really impressed with what I've seen so far of Geda - why didn't I find it before?! I've been looking for a decent circuit diagram drawing program for quite a while and have played with a few on the way. I think I probably/possibly didn't find it because it's listed as 'Electronics Design Software' in the Ubuntu archives and gschem is 'Schematic Editor'. Anyway, thank you all and (I fear) expect a few more questions like the one above as I learn about it. -- Chris Green