X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Subject: Re: [geda-user] How to renumber connector pins, or resize a connector? To: geda-user AT delorie DOT com References: <20180415161747 DOT GA7569 AT esprimo> From: "Richard Rasker (rasker AT linetec DOT nl) [via geda-user AT delorie DOT com]" Message-ID: Date: Sun, 15 Apr 2018 20:08:44 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180415161747.GA7569@esprimo> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US 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 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. Best regards, Richard