Multiunit Symbol creation 6.0

OK, so I am trying to create a new schematic symbol for a part with multiple units. So I create a new symbol, select the number of units (5), and start to draw the symbol. The top of the screen has the units in a drop-down. So I draw unit A, and when I want to go to the next one, it seems logical to go to the drop-down select B, and then draw B. When I do that, A stays on the screen. Either I am doing this wrong or this is a bug.

Application: KiCad Symbol Editor (64-bit)

Version: (6.0.0), release build

Libraries:
wxWidgets 3.1.5
libcurl/7.78.0-DEV Schannel zlib/1.2.11

Platform: Windows 10 (build 22000), 64-bit edition, 64 bit, Little endian, wxMSW

Build Info:
Date: Dec 24 2021 19:17:02
wxWidgets: 3.1.5 (wchar_t,wx containers)
Boost: 1.76.0
OCC: 7.5.0
Curl: 7.78.0-DEV
ngspice: 35
Compiler: Visual C++ 1929 without C++ ABI

Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON

Same issue with 6.0.1, just installed it.

I have drawn a number of multi-unit symbols. If I remember correctly you need to start editing B (and maybe C, D, etc.) when it appears. KiCad’s assumption is that the units are identical, but starting with the same provides a helpful starting point.

OK So I figured this out, it is sort of a bug.

The issue seems to only manifest itself it you use the pin table to insert the pins.

Not really. Hover over “Units are not interchangeable” for the explanation.

Kicad is being smart if left unticked to save redrawing units… just change pin numbers.

Tried multiple tests, and it I can make the issue repeatable when I use the pin table to insert the pins. When I do this, the body portion will change , but pins remain unchanged (this is the scenario when you pick units are not interchangeable). If I do not pick that option, nothing will change when I switch units.

If I insert pins individually it works as expected.

Sorry @Frozen001
I edited my previous post while you were replying, resulting in confusion for any reader.

Did you hover over “units are not interchangeable” for an explanation?

No it just does not work at all… So here are screen grabs.

New Part, 5 units with “Units not interchangeable” Selected.

Create Unit A:

Switch to B and edit:

Switch back to Unit A

Part Properties:

And this is with placing pins individually, so my prior comment about it having to do with using the pin table is wrong

Strange, everything works as expected with my OS… Linux Mint.

You may have to wait a while for other replies… time zones. Probably the middle of the night in Europe.

Sorry, I can’t help you further. :slightly_frowning_face:

I have had no problems producing multi-unit symbols running under Windows 10.

Hello @Frozen001
I’ve been looking into this problem further.
There is a bug causing your problem.

To create your symbol:
Enter Symbol Editor then File / Select your personal library into which the new component is placed / then Click File / New symbol / then this window is displayed:

Enter Name and No. of units and HOVER over encircled line then select accordingly.
This should sort out your problem.

As I mentioned above, there is a bug in the system which I believe has caused you grief. I am reporting.

Cheers, Jan

Hi Jan,

Tried again this morning and followed your method, and I still cannot make a multiple unit part correctly.

  1. Opened Symbol Editor
  2. Selected my custom library
  3. Did File > New Symbol
  4. On Popup window I
    a) Entered Name
    b) Entered number of units
    c) hovered over the “United are not interchangeable” help text pops up, I select the option
  5. Generate First unit (a)
  6. From the drop down I select unit (b)
  7. outline box disappears, but pins stay
  8. delete pins
  9. enter new pins and box outline
  10. switch back to unit (a) and original pins and box are identical to unit B

Not sure if this matters but I am on a windows 11 machine. I have a mac and windows 10 box, let me try on those and report back.

how is the setting for “pin common to all units”-checkbox in the pin-properties dialog? (checkbox should be empty).

mf: That box is unchecked. So Windows 10 no issue, OSX no issue.

Rebooted my machine (tried this before with no change) and stated a new library and so far with three tests the issue seems to have gone away. Maybe it was because the library was created with an older version?

There is a contradiction between Library Symbol Properties and New Symbol Properties.

You should have the “Units Are Not Interchangeable” box ticked in the “New Symbol” window.

Don’t touch the “All symbols are Interchangeable” box in the “Library Symbol Properties”: the explanation, when hovering, contradicts the “New Symbol” explanation.

This is the issue:
https://gitlab.com/kicad/code/kicad/-/issues/10762

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.