X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Envelope-From: paubert AT iram DOT es Date: Mon, 30 Jan 2012 22:34:08 +0100 From: Gabriel Paubert To: geda-user AT delorie DOT com Subject: Re: [geda-user] PCB: place via using action? Message-ID: <20120130213408.GA10759@visitor2.iram.es> References: <4F26CD8D DOT 9000902 AT zepler DOT net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4F26CD8D.9000902@zepler.net> User-Agent: Mutt/1.5.20 (2009-06-14) X-SPF-Received: 2 X-Spamina-Bogosity: Unsure X-Spam-Score: -1.4 (-) X-Spam-Report: Content analysis details: (-1.4 points) pts rule name description ---- ---------------------- -------------------------------------------------- -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP 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 Mon, Jan 30, 2012 at 05:04:13PM +0000, Chris Smith wrote: > Hi all, > > Is it possible to place a via using an action rather than the mouse? I > have a number of vias I need to place at the same relative offset to > different pads. At the moment I'm marking (Ctrl-M) each pad and placing > a via with the mouse at the correct offset, which is somewhat laborious. > Ideally I'd like to mark the pad then do something like > > :PlaceVia(CurrentMark, +x, +y) > > I've searched the documented actions but, unless I've missed something, > I can't see anything suitable. I believe that you are trying the wrong way. If I understand your problem, what I would do is: 1) place one via at the right offset from a given pad. 2) set snap to pad 3) select the via 4) go to the pad 5) type Ctrl-C to place the via into the buffer 6) go to another pad, type Ctrl-V to place the via 7) repeat 6) untill all vias are placed Gabriel