${SHORT_NET_NAME(1)} as value cannot be resolved?

Any idea what is happening here? Or why this is happening? My test point component has ${SHORT_NET_NAME(1)} as value and it gets rendered correctly in PCBNew. Only ERC throws this error?!

Application: KiCad x86_64 on x86_64

Version: 7.0.7+dfsg-1, release build

Libraries:
	wxWidgets 3.2.2
	FreeType 2.12.1
	HarfBuzz 8.0.1
	FontConfig 2.14.2
	libcurl/7.88.1 OpenSSL/3.0.9 zlib/1.2.13 brotli/1.0.9 zstd/1.5.4 libidn2/2.3.3 libpsl/0.21.2 (+libidn2/2.3.3) libssh2/1.10.0 nghttp2/1.52.0 librtmp/2.3

Platform: Debian GNU/Linux 12 (bookworm), 64 bit, Little endian, wxGTK, lightdm-xsession, x11

Build Info:
	Date: Aug 16 2023 15:25:09
	wxWidgets: 3.2.2 (wchar_t,wx containers) GTK+ 3.24
	Boost: 1.74.0
	OCC: 7.6.3
	Curl: 8.2.1
	ngspice: 40
	Compiler: GCC 13.2.0 with C++ ABI 1018

Build settings:
	KICAD_SPICE=ON

If it works in some other place I can only say this is a bug. On the other hand, I don’t see a reason to use special characters like ( ) in variable names.

The brackets are needed as parameter for SHORT_NET_NAME. Alrighty, then up we go to Github :slight_smile:

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