How to transfer all components values to silk layer?

I could go for each components and click on the value and change it from f.fab to silklayer but I wonder if there is a faster way of doing so?

Depending on how many components we’re talking about, the easiest way would be to open the PCB file in a text editor and do a search-and-replace.

A Python script would be another way, if you have lots components.

Method 1: Go to Edit > Text and Graphic Properties and change the layer for all values
Method 2: Set selection filter to text only, set object visibility so that you see only the values, make a box selection to select all values, change the layer in the property editor

2 Likes

Hacking into KiCad’s files with a text editor is an option, but KiCad is finicky about small errors in such files. If you go that way, then make sure you have a backup first (KiCad does create a backup directory with backups of your project automatically, make sure you are familiar with how that works).

But as ekoeck mentioned, this can also be done from within KiCad’s GUI, that it both safer and quicker. Hacking into KiCad’s files was relatively common 5 or more years ago, but these days it is rarely necessary.