In which file are Design Rules - Constraints stored?

I noticed that changing the design constraints settings (PCB-Editor → Board Setup → Design Rules → Constraints) does not result in a changed file in my project. My Project is under version control with git, so after changing something in the project, the file that contains the changes should appear under gits “changes not staged for commit”.

Are the “Design Rules - Constraints” settings stored somewhere outside the project folder? If so, what is the purpose of that?

Im using KiCad 7.0.6

Best regards

1 Like

All files are guaranteed to be saved only when you close KiCad.

Thanks for the reply, that indeed works.

However that makes using KiCad with Git quite inconvenient as you have to close KiCad whenever you want to commit. Is there any usable workaround?

At least for the upcoming version the project files (which contain the drc-settings) are saved together with the standard pcb-save-action. See the last comment in Changes to Project related settings, like netclasses, inside PCBnew, the kicad_pro is only updated after PCBnew quit (#15172) · Issues · KiCad / KiCad Source Code / kicad · GitLab

So the workaround needs 6 months patience (v8 should arrive at the beginning of 2024).

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