# Copy/Paste in PCB Editor?

**URL:** <https://librepcb.discourse.group/t/copy-paste-in-pcb-editor/566>\
**Category:** Help\
**Created:** [July 31, 2023, 11:00am UTC](https://librepcb.discourse.group/t/copy-paste-in-pcb-editor/566 "2023-07-31T11:00:29Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![4Springs](https://avatars.discourse-cdn.com/v4/letter/4/ee59a6/32.png) [@4Springs](https://librepcb.discourse.group/u/4Springs)\
**Post date:** [July 31, 2023, 11:00am UTC](https://librepcb.discourse.group/t/copy-paste-in-pcb-editor/566/1 "2023-07-31T11:00:29Z")

</div>

My first circuit board in LibrePCB is a bit repetitive, and I was wondering if there is any way to help make it look consistent.  
I have about 14 components in a circuit, and this is repeated six times on the same PCB. Each group is connected to the next group by a couple of tracks. I’ve placed the first 14, and I’m wondering how to go about placing the next five groups so they look neat.  
In the Schematic Editor I was able to draw the circuit, then copy it and paste it out a further 5 times, so each of the six sections look the same. Is there any way to do something similar in the PCB Editor? If I place them all by hand then they’re going to look different unless I’m very careful…

---

<div class="post-metadata">

**Author:** ![ubruhin](https://avatars.discourse-cdn.com/v4/letter/u/c89c15/32.png) [@ubruhin](https://librepcb.discourse.group/u/ubruhin)\
**Post date:** [July 31, 2023, 11:25am UTC](https://librepcb.discourse.group/t/copy-paste-in-pcb-editor/566/2 "2023-07-31T11:25:09Z")

</div>

Hi,

Unfortunately this is currently not possible. Copy&paste in the board editor is not trivial since LibrePCB doesn’t know to which component in the schematic a pasted device shall correspond to. But I also hope some day we find a solution to make repetitive designs easier 🙂

---

<div class="post-metadata">

**Author:** ![4Springs](https://avatars.discourse-cdn.com/v4/letter/4/ee59a6/32.png) [@4Springs](https://librepcb.discourse.group/u/4Springs)\
**Post date:** [July 31, 2023, 11:38am UTC](https://librepcb.discourse.group/t/copy-paste-in-pcb-editor/566/3 "2023-07-31T11:38:25Z")

</div>

A couple of things come to mind, I’m sure they’ve come to your mind as well… 🙂  
A tool to space things out evenly would be good. Also a way to line things up. Perhaps a special guideline?  
Or even allow placement by X and Y coordinates. Then I could calculate my coordinates, then place them based on what I calculated.

---

<div class="post-metadata">

**Author:** ![ubruhin](https://avatars.discourse-cdn.com/v4/letter/u/c89c15/32.png) [@ubruhin](https://librepcb.discourse.group/u/ubruhin)\
**Post date:** [July 31, 2023, 11:46am UTC](https://librepcb.discourse.group/t/copy-paste-in-pcb-editor/566/4 "2023-07-31T11:46:09Z")

</div>

> [@4Springs](#):
>
> A tool to space things out evenly would be good.

Yep, there’s even an issue open for this: [Board Editor: Alignment & distribution tools · Issue #595 · LibrePCB/LibrePCB · GitHub](https://github.com/LibrePCB/LibrePCB/issues/595)

> [@4Springs](#):
>
> Or even allow placement by X and Y coordinates. Then I could calculate my coordinates, then place them based on what I calculated.

The initial placement can only be done by mouse, but afterwards you can enter exact coordinates manually in the device properties dialog (double-click on device) if you’re not yet aware of this.

---

<div class="post-metadata">

**Author:** ![4Springs](https://avatars.discourse-cdn.com/v4/letter/4/ee59a6/32.png) [@4Springs](https://librepcb.discourse.group/u/4Springs)\
**Post date:** [July 31, 2023, 11:53am UTC](https://librepcb.discourse.group/t/copy-paste-in-pcb-editor/566/5 "2023-07-31T11:53:48Z")

</div>

> [@ubruhin](#):
>
> device properties dialog (double-click on device) if you’re not yet aware of this.

Aha!  
I thought there should be a properties dialog, but I hadn’t been able to find it.  
Once I read your statement, I went and tried harder to find it. Previously I’d tried clicking, double-clicking, right-clicking, but nothing gave me any options. Finally I found that I need to double-click on one of the text labels (name or property). If the device doesn’t have a label I don’t think you can get the properties?  
The most intuitive place I looked for properties was right-clicking, as I was used to doing this in the Schematic Editor. But there was no right-click menu in the PCB Editor.

---

<div class="post-metadata">

**Author:** ![4Springs](https://avatars.discourse-cdn.com/v4/letter/4/ee59a6/32.png) [@4Springs](https://librepcb.discourse.group/u/4Springs)\
**Post date:** [July 31, 2023, 11:56am UTC](https://librepcb.discourse.group/t/copy-paste-in-pcb-editor/566/6 "2023-07-31T11:56:49Z")

</div>

> [@4Springs](#):
>
> Finally I found that I need to double-click on one of the text labels (name or property).

No, I was wrong. That only gets the properties of the text label. I think I need to double-click on the faint cross on the device. This is also the way to select the device - something else I’d had trouble doing. I’d previously been frustrated trying to grab a device to move it - I ended up selecting a rectangle around the device to select it. But now I know about that cross, I think it will make things easier.

---

<div class="post-metadata">

**Author:** ![ubruhin](https://avatars.discourse-cdn.com/v4/letter/u/c89c15/32.png) [@ubruhin](https://librepcb.discourse.group/u/ubruhin)\
**Post date:** [July 31, 2023, 11:58am UTC](https://librepcb.discourse.group/t/copy-paste-in-pcb-editor/566/7 "2023-07-31T11:58:55Z")

</div>

> [@4Springs](#):
>
> No, I was wrong. I think I need to double-click on the faint cross on the device.

Correct. Note that in LibrePCB 0.1.7 there’s a little bug which sometimes prevents double-clicking or right-clicking from working correctly. This should work better in the next release.
