V6 schematics silent file format change

Has anybody observed the file format change between 6.0.0 and 6.0.2?

I have designs where symbol instances have changed from e.g.

  (symbol (lib_id "power:GND") (at 95.25 101.6 0)


  (symbol (lib_id "power:GND") (at 95.25 101.6 0) (unit 1)

Note the addition of explicit unit number even for one unit symbols.

I know this is a minor issue, but I am developing plugins for KiCad and as there is no python API for schematics, I am just parsing schematics files, so I’d really appreciate stable file format.

If anybody can shed some light on this, it would be greatly appreciated.

I thought unit is supposed to be written unconditionally if valid (and convert conditionally).

1 Like

Is fileformat version string changed (one of first lines of the file) between these two versions? If yes, you should parse file according to that string, if no - this is a bug and should be reported to devteam at gitlab.

Yeah, there is a bug in the schematics write code, which shows only in “corner” cases. reported at: schematics does note enumerate single unit symbols consistently (#10888) · Issues · KiCad / KiCad Source Code / kicad · GitLab


there is bug. file format change according the type that is string or any other.

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