Mail Archives: geda-user/2013/11/18/12:46:25
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.
- Raw text -