Allow picking from multiple schematic symbols for a single database part
Description
Similar to #13587 (closed), the kicad_dbl
mapping file contains a key named "symbols"
which currently accepts a value LibraryNickname:SymbolName
. The following is a feature request to add the ability to specify multiple symbol names in this field and allow the user to pick one of those symbols in the UI when placing a part in the schematic.
Example use case
I have a database part representing TE 2199230-4 which is a M.2 connector.
In my database, I have a mapping from the database part to a generic schematic symbol, e.g. CONN_RECEPTACLE_M.2_TYPE_E
(since this pinout for this symbol can change depending on the end application):
However, when I want to use this same connector for a project using MicroMod boards, I'd like to use a different schematic symbol with pin names/locations that match the MicroMod spec, e.g. CONN_RECEPTACLE_M.2_TYPE_E_MICROMOD
:
I may also want to use this same part in another project, but with a different pinout according to the official M.2 specification (e.g. Bus_M.2_Socket_E
symbol from the KiCad libs):
In all cases, I want to use the exact same DB part with the same footprint, but just place a different schematic symbol in the schematic.
KiCad Version
Application: KiCad arm64 on arm64
Version: (7.0.0-rc1-204-gd2c0f5fc2a), release build
Libraries:
wxWidgets 3.2.1
FreeType 2.12.1
HarfBuzz 5.3.1
FontConfig 2.14.0
libcurl/7.85.0 SecureTransport (LibreSSL/3.3.6) zlib/1.2.11 nghttp2/1.47.0
Platform: macOS Ventura Version 13.1 (Build 22C65), 64 bit, Little endian, wxMac
Build Info:
Date: Jan 17 2023 01:20:09
wxWidgets: 3.2.1 (wchar_t,wx containers)
Boost: 1.80.0
OCC: 7.6.3
Curl: 7.77.0
ngspice: 38
Compiler: Clang 13.0.0 with C++ ABI 1002
Build settings:
KICAD_SPICE=ON