# Can't rename multiple schematic components with same name

**URL:** <https://librepcb.discourse.group/t/cant-rename-multiple-schematic-components-with-same-name/227>\
**Category:** Help\
**Created:** [May 15, 2020, 12:10am UTC](https://librepcb.discourse.group/t/cant-rename-multiple-schematic-components-with-same-name/227 "2020-05-15T00:10:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![imaginaryboy](https://avatars.discourse-cdn.com/v4/letter/i/43a26b/32.png) [@imaginaryboy](https://librepcb.discourse.group/u/imaginaryboy)\
**Post date:** [May 15, 2020, 12:10am UTC](https://librepcb.discourse.group/t/cant-rename-multiple-schematic-components-with-same-name/227/1 "2020-05-15T00:10:54Z")

</div>

I was recently drawing a schematic, and trying to work around the lack of an RGB LED by using 3 separate LEDs.

I tried to rename them to give them a more sensible name, in part because my understanding is that the naming of components in the schematic should indicate which components share a device (like slotting in gschem).

I was able to rename one, but renaming the second failed with this error:

> There is already a component with the name “D1”!

Of course in this case the ideal fix would be to add more LED components to the library, but I think there are other uses for slotted or otherwise disjoint components, so it would still be sueful to fix this error.

---

<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:** [May 15, 2020, 2:40pm UTC](https://librepcb.discourse.group/t/cant-rename-multiple-schematic-components-with-same-name/227/2 "2020-05-15T14:40:19Z")

</div>

Hi,

> [@imaginaryboy](#):
>
> in part because my understanding is that the naming of components in the schematic should indicate which components share a device (like slotting in gschem).

No, this is not the way to combine multiple symbols into one device 😉 In LibrePCB, the relation of symbols/components/devices including their pinout is entirely stored in the library, so you’ll have to create an RGB LED component. You may want to take a look at [this documentation](https://developers.librepcb.org/df/d4f/doc_library.html) about the library concept.
