There is no way to set VIA net while in zone
Description
There is no way to change VIA net without renaming already assigned netname globally.
Steps to reproduce
- Create PCB;
- Add two zones: on top, and on bottom, assign them to different nets (GND and GNDREF);
- Change zone priorities (mine was not equal);
- place footprint, assign pad to net GND;
- Place via on top of GND pad. Via net will be set to GND as expected;
- CTRL+B, move (m) via out of the pad; Via net will be changed to whatever GNDREF or GND automatically;
- It is expected to get a Warning question: "Via net will be changed to "", do you want to keep existing VIA net?";
- Okay, edit via properties (e), set via net back to "GND". KiCad will warn you that all nets will be renamed from GNDREF to GND. There is no way to not to rename GNDREF to GND;
This is a loophole, I mean there is no way to put VIA in a zone and change its net safely, without changing whole netlist.
I am asking two things:
a) point no 7: Add a dialog to keep existing via net name while moving it to another net (with do not ask again next time);
b) point no 8: Make a way to edit VIA net assignation only just for via itself, not to just rename via current net;
Should I create two issues here (for a and b)?
KiCad Version
Application: Pcbnew
Version: (5.99.0-3135-gbd23d003d), release build
Libraries:
wxWidgets 3.0.5
libcurl/7.71.0 OpenSSL/1.1.1g (Schannel) zlib/1.2.11 brotli/1.0.7 libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.41.0
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: Sep 2 2020 21:04:24
wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8)
Boost: 1.73.0
OCE: 6.9.1
Curl: 7.71.0
ngspice: 32
Compiler: GCC 10.2.0 with C++ ABI 1014
Build settings:
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=OFF
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
KICAD_SCRIPTING_ACTION_MENU=ON
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCE=ON
KICAD_SPICE=ON
