# Creating part, Pins don't connect to wires

**URL:** <https://librepcb.discourse.group/t/creating-part-pins-dont-connect-to-wires/186>\
**Category:** Libraries\
**Created:** [January 23, 2020, 7:26pm UTC](https://librepcb.discourse.group/t/creating-part-pins-dont-connect-to-wires/186 "2020-01-23T19:26:26Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![holgerlembke](https://avatars.discourse-cdn.com/v4/letter/h/6f9a4e/32.png) [@holgerlembke](https://librepcb.discourse.group/u/holgerlembke)\
**Post date:** [January 23, 2020, 7:26pm UTC](https://librepcb.discourse.group/t/creating-part-pins-dont-connect-to-wires/186/1 "2020-01-23T19:26:26Z")

</div>

Hi. First time user here…

I try to create a simple part but in schematic the wires don’t attach to my pins. Pins are green instead of red.

I so far checked everything, the package pads are assign to component signals, i have no negative messages…

I went through the " [3. Library Conventions]" section, but found nothing.

Any idea?

---

<div class="post-metadata">

**Author:** ![dbrgn](https://yyz2.discourse-cdn.com/free1/user_avatar/librepcb.discourse.group/dbrgn/32/25_2.png) [@dbrgn](https://librepcb.discourse.group/u/dbrgn)\
**Post date:** [January 26, 2020, 11:43am UTC](https://librepcb.discourse.group/t/creating-part-pins-dont-connect-to-wires/186/2 "2020-01-26T11:43:29Z")

</div>

Hi @holgerlembke and welcome! Sorry, your post was held back by the antispam system for a while…

From your description I’m not yet sure what the problem is. Do you have a library that you could share? (The libraries are in `LibrePCB-Workspace/v0.1/libraries/local/`.)

---

<div class="post-metadata">

**Author:** ![holgerlembke](https://avatars.discourse-cdn.com/v4/letter/h/6f9a4e/32.png) [@holgerlembke](https://librepcb.discourse.group/u/holgerlembke)\
**Post date:** [January 26, 2020, 1:12pm UTC](https://librepcb.discourse.group/t/creating-part-pins-dont-connect-to-wires/186/3 "2020-01-26T13:12:56Z")

</div>

I uploaded the library to [https://github.com/holgerlembke/switch](https://github.com/holgerlembke/switch)

---

<div class="post-metadata">

**Author:** ![dbrgn](https://yyz2.discourse-cdn.com/free1/user_avatar/librepcb.discourse.group/dbrgn/32/25_2.png) [@dbrgn](https://librepcb.discourse.group/u/dbrgn)\
**Post date:** [January 26, 2020, 4:34pm UTC](https://librepcb.discourse.group/t/creating-part-pins-dont-connect-to-wires/186/4 "2020-01-26T16:34:26Z")

</div>

I think the problem is that in your component, if you edit the symbol variant, the component signals are not assigned:

 ![](https://global.discourse-cdn.com/free1/uploads/librepcb1/original/1X/5dafc5e093e14f4812b9260d066f13a1439cc141.png)

You can click on “Automatically assign all signals by name”, then the mapping should be added.

After changing this, make sure to either use “Project \> Update Library” or remove the part from your schematic and re-add it. Then it should work:

 ![](https://global.discourse-cdn.com/free1/uploads/librepcb1/original/1X/3c4d9f888a3af2d1075f75645bcef2c6c9a10693.png)

---

<div class="post-metadata">

**Author:** ![holgerlembke](https://avatars.discourse-cdn.com/v4/letter/h/6f9a4e/32.png) [@holgerlembke](https://librepcb.discourse.group/u/holgerlembke)\
**Post date:** [January 26, 2020, 5:13pm UTC](https://librepcb.discourse.group/t/creating-part-pins-dont-connect-to-wires/186/5 "2020-01-26T17:13:03Z")

</div>

Thanks, that fixed it.

I like the way a part is added, but I think it is way to easy to miss a step… I spend the better day of a part and didn’t see/understand my error. It really needs a step-by-step-web-page-guide to find errors.

---

<div class="post-metadata">

**Author:** ![dbrgn](https://yyz2.discourse-cdn.com/free1/user_avatar/librepcb.discourse.group/dbrgn/32/25_2.png) [@dbrgn](https://librepcb.discourse.group/u/dbrgn)\
**Post date:** [January 26, 2020, 5:40pm UTC](https://librepcb.discourse.group/t/creating-part-pins-dont-connect-to-wires/186/6 "2020-01-26T17:40:02Z")

</div>

> [@holgerlembke](#):
>
> I like the way a part is added, but I think it is way to easy to miss a step…

If you follow the component creation wizard, there’s a signal mapping step. Maybe you changed something in the symbol after creating the component?

In any case, the behavior _is_ a bit weird. @ubruhin do you know why symbol pins that haven’t been assigned a signal can still be connected? Shouldn’t an error be shown instead?

---

<div class="post-metadata">

**Author:** ![holgerlembke](https://avatars.discourse-cdn.com/v4/letter/h/6f9a4e/32.png) [@holgerlembke](https://librepcb.discourse.group/u/holgerlembke)\
**Post date:** [January 26, 2020, 6:07pm UTC](https://librepcb.discourse.group/t/creating-part-pins-dont-connect-to-wires/186/7 "2020-01-26T18:07:43Z")

</div>

Where is this wizard?

(Build Date: 2019-11-30T13:03:21)

---

<div class="post-metadata">

**Author:** ![dbrgn](https://yyz2.discourse-cdn.com/free1/user_avatar/librepcb.discourse.group/dbrgn/32/25_2.png) [@dbrgn](https://librepcb.discourse.group/u/dbrgn)\
**Post date:** [January 26, 2020, 6:28pm UTC](https://librepcb.discourse.group/t/creating-part-pins-dont-connect-to-wires/186/8 "2020-01-26T18:28:09Z")

</div>

> [@holgerlembke](#):
>
> Where is this wizard?

When you create a new component in the library manager.

![2020-01-26-192740_537x287_scrot](https://global.discourse-cdn.com/free1/uploads/librepcb1/original/1X/6631be16bf6d9ae8d2635b3eb75946d31bf47ef0.png)

---

<div class="post-metadata">

**Author:** ![holgerlembke](https://avatars.discourse-cdn.com/v4/letter/h/6f9a4e/32.png) [@holgerlembke](https://librepcb.discourse.group/u/holgerlembke)\
**Post date:** [January 26, 2020, 6:30pm UTC](https://librepcb.discourse.group/t/creating-part-pins-dont-connect-to-wires/186/9 "2020-01-26T18:30:56Z")

</div>

Oh, my fault. I thought there is a additional component creation wizard. Just like a guided step-by-step-dialog system…

---

<div class="post-metadata">

**Author:** ![dbrgn](https://yyz2.discourse-cdn.com/free1/user_avatar/librepcb.discourse.group/dbrgn/32/25_2.png) [@dbrgn](https://librepcb.discourse.group/u/dbrgn)\
**Post date:** [January 26, 2020, 6:32pm UTC](https://librepcb.discourse.group/t/creating-part-pins-dont-connect-to-wires/186/10 "2020-01-26T18:32:28Z")

</div>

There is! In the library manager, when editing your library, right-click on the components pane and choose “New”. Then the “New Component” wizard will pop up.

It will not warn you if you don’t assign any signals though, maybe there should be a warning. You probably just skipped that step.

---

<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:** [January 26, 2020, 6:46pm UTC](https://librepcb.discourse.group/t/creating-part-pins-dont-connect-to-wires/186/11 "2020-01-26T18:46:07Z")

</div>

> [@dbrgn](#):
>
> In any case, the behavior _is_ a bit weird. @ubruhin do you know why symbol pins that haven’t been assigned a signal can still be connected? Shouldn’t an error be shown instead?

They _can’t_ be connected, and that’s visible by the circle of the pin, and the cross of the netline. Both symbols disappear only if they are connected.

![grafik](https://global.discourse-cdn.com/free1/uploads/librepcb1/original/1X/be29588d017a3d1d5b15cfb25e241e31326f8e5e.png)

---

<div class="post-metadata">

**Author:** ![dbrgn](https://yyz2.discourse-cdn.com/free1/user_avatar/librepcb.discourse.group/dbrgn/32/25_2.png) [@dbrgn](https://librepcb.discourse.group/u/dbrgn)\
**Post date:** [January 26, 2020, 8:31pm UTC](https://librepcb.discourse.group/t/creating-part-pins-dont-connect-to-wires/186/12 "2020-01-26T20:31:28Z")

</div>

> [@ubruhin](#):
>
> They _can’t_ be connected, and that’s visible by the circle of the pin, and the cross of the netline. Both symbols disappear only if they are connected.

Yes, you’re right, but the user’s intent is definitely to connect the wire to the pin. If the wire is placed when clicking without a warning, a new user will probably think it’s connected and that it just looks strange.

---

<div class="post-metadata">

**Author:** ![holgerlembke](https://avatars.discourse-cdn.com/v4/letter/h/6f9a4e/32.png) [@holgerlembke](https://librepcb.discourse.group/u/holgerlembke)\
**Post date:** [January 29, 2020, 12:52pm UTC](https://librepcb.discourse.group/t/creating-part-pins-dont-connect-to-wires/186/13 "2020-01-29T12:52:10Z")

</div>

So I’m creating another part and now understand my error better… I get the wizard to build component variant one time (when creating a new component). It could be missed easily.

Why not add a message? “Variant “default” has 15 pins without component signal.”
