Skip to content

.dc line on the Eeschema canvas is not accepted as simulation command

Description

.dc V2 0 3 0.05 V1 -1 0 0.2 in a text box on the Eeschema canvas is not accepted as simulation command. Inspect --> Simulator: The Run button is still grayed out. .op A single .op it is o.k.

*.dc V2 0 3 0.05 V1 -1 0 0.2
.op

is not o.k, Run button grayed out.

.dc V2 0 3 0.05 V1 -1 0 0.2
.op

Both are simulated.

Simulation via Inspect --> Simulator --> SimCommand --> op is possible.

Steps to reproduce

  1. Run the project attached
  2. Vary the text in the text box

sim-command-error.7z

KiCad Version

Application: KiCad Schematic Editor x64 on x64

Version: 7.0.0-228-g411c9707ee, release build

Libraries:
	wxWidgets 3.2.2
	FreeType 2.12.1
	HarfBuzz 5.0.1
	FontConfig 2.14.1
	libcurl/7.83.1-DEV Schannel zlib/1.2.13

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

Build Info:
	Date: Mar  8 2023 04:14:10
	wxWidgets: 3.2.2 (wchar_t,wx containers)
	Boost: 1.80.0
	OCC: 7.6.2
	Curl: 7.83.1-DEV
	ngspice: 39
	Compiler: Visual C++ 1934 without C++ ABI

Build settings:
	KICAD_SPICE=ON