ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2012/05/02/15:34:52

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Wed, 2 May 2012 12:06:18 -0700
From: Colin D Bennett <colin AT gibibit DOT com>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] editing tracks in pcb
Message-ID: <20120502120618.5526a219@svelte>
In-Reply-To: <4FA18060.3060905@avtechpulse.com>
References: <4FA16C3B DOT 2030303 AT avtechpulse DOT com>
<20120502180433 DOT GC6951 AT malakian DOT lan>
<4FA18060 DOT 3060905 AT avtechpulse DOT com>
X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.10; x86_64-pc-linux-gnu)
Mime-Version: 1.0
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - gator297.hostgator.com
X-AntiAbuse: Original Domain - delorie.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - gibibit.com
X-BWhitelist: no
X-Source:
X-Source-Args:
X-Source-Dir:
X-Source-Sender: spk.venturedesignservices.com (svelte) [65.61.115.34]:56254
X-Source-Auth: colin AT gibibit DOT com
X-Email-Count: 1
X-Source-Cap: c2t5bGVuO3NreWxlbjtnYXRvcjI5Ny5ob3N0Z2F0b3IuY29t
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q42JYfsN027905
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 Wed, 02 May 2012 14:43:44 -0400
"Dr. Michael J. Chudobiak" <mjc AT avtechpulse DOT com> wrote:

> > It doesn't look like it. You can highlight an entire connection
> > by pressing 'f' when the mouse is over it (and unhighlight with
> > Shift+F),
> 
> Thanks - that's the clue I needed!
> 
> > but I don't see how to delete tracks based on this.
> > It would not be hard for us to write a "SelectAllFound" action
> > to
> 
> Reading the source code reveals that it has already been done!
> 
> Pressing "f", then ":select connection" will do what I want.

This is also available under the "Select | Select all connected
objects" menu item, so you can use that after hitting "f".

Actually, there is an even faster way to do it.  The pcb key
shortcuts are defined in a file called “gpcb-menu.res”.  It
defines by default an action called "Remove Connected".  This
will remove all tracks connected to the one under the mouse
cursor.  However, I was not able to invoke this using the defined
Shift+Backspace shortcut -- I had to can copy the gpcb-menu.res
file from the installed one, put it in my ~/.pcb directory,
and edit it to use a different key, in this case Ctrl-D:

    #{"Remove Connected" a={"Shift-Backspace" "Shift<Key>BackSpace"}
    {"Remove Connected" a={"Ctrl-D" "Ctrl<Key>d"}

Then, just hover over the track you want to delete and hit Ctrl-D!

Regards,
Colin

- Raw text -


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