X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Message-ID: <1384796682.2165.9.camel@AMD64X2.fritz.box> Subject: Re: [geda-user] PCB, import of traces and vias from a file From: Stefan Salewski To: geda-user AT delorie DOT com Date: Mon, 18 Nov 2013 18:44:42 +0100 In-Reply-To: <201311181720.rAIHK0fl009584@envy.delorie.com> References: <1384704958 DOT 2032 DOT 11 DOT camel AT AMD64X2 DOT fritz DOT box> <201311171637 DOT rAHGbZ6E010510 AT envy DOT delorie DOT com> <1384715764 DOT 2032 DOT 19 DOT camel AT AMD64X2 DOT fritz DOT box> <20131117233643 DOT 3c8cc186 AT akka> <1384729711 DOT 2032 DOT 42 DOT camel AT AMD64X2 DOT fritz DOT box> <201311172317 DOT rAHNH2k1024672 AT envy DOT delorie DOT com> <1384786626 DOT 2165 DOT 7 DOT camel AT AMD64X2 DOT fritz DOT box> <201311181720 DOT rAIHK0fl009584 AT envy DOT delorie DOT com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.8.5 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit 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, 2013-11-18 at 12:20 -0500, DJ Delorie wrote: > > But the imported traces seems to appear at an arbitrary position, maybe > > related to the current position of the mouse pointer on screen. > > Right, the cursor position records the cut/paste spot. When you > paste, it puts that spot under the crosshair. If you use a script or > action to do the pasting, you can specify the coordinates. > > "PasteBuffer(AddSelected|Clear|1..MAX_BUFFER)\n" > "PasteBuffer(Rotate, 1..3)\n" > "PasteBuffer(Convert|Save|Restore|Mirror)\n" > "PasteBuffer(ToLayout, X, Y, units)"; Yes, seems to work perfectly: LoadFrom(LayoutToBuffer, h.pcb) PasteBuffer(ToLayout, 0, 0, mil) Thanks.