I have some issue with symbol field that appear two times in symbol field edit chart, and when I edit symbol properties (E) .For example I have two times Footprint field
I don’t really know when it happened, maybe when I changed preference from to english <-> french.
Never mind, I would like to kill those fields .
There is a button to add field ,not to kill one.
How can I do ?
is it possible to directly edit the file that manages fields and do some cleaning ?
If you can’t repair it by editing the "Symbol Properties*, by selecting the field and clicking on the garbage can, then the next thing to try is to close kicad, open the schematic in a text editor, identify the offending lines and delete them there:
As you can see Footprint field appears 2 times. I tried to delete the second one in one reference (first is the reserved field by kicad) in symbol propertie. It is deleted but when I go to symbol field , both field are here, and field erased is here with the footprint value.
So I think that there is only one field , but it is displayed twice.
I will try to edit the .sch file (I use a temp project copy… ) as proposed by Paul.
I’ll keep you informed.
Last question : I’m a little bit confused with fields because there are several place where you can manage them (sym propertie, symbol field ,preferences,…).
I tried to find some explanation about how to well create,modify delete fields in EEschema but I didn’t find anyething.
If you have some informatio or link…
Tanks by advance,
It should not matter in which dialog you enter or change these additional fields.
In Eeschema / Tools / Edit symbol Fields you have an overview of all fields of all symbols, and information can be quickly copied from one symbol to another. But clicking on a schematic symbol and then pressing e to edit it’s properties is also a valid way, and those (and other) methods can be used at will. You just use the method that is the easiest for your current job.
There is some info about creating and managing fields in schematic symbols in the FAQ. For example:
I am however also a bit confused by this. Some of the information is kept in the schematic file, but there is also a [library-name].dcm file with additional info about schematic symbols.
For more info, have look at the file file_formats.pdf. This file used to be part of the official documentation on the KiCad website, but it has been moved a few times. There are multiple copies floating around on this forum though.
F 2 is kicad reserved field
F 9 is the one I want to remove
In symbol field , I have selected all the footprint from the second field and deleted them.
But they are also automatically deleted in the other field.
I watched in the .sch file and I saw that it was F 2 line was deleted not F 9.
I restored my copy from the original project and tried to delete the other field first.
But I got the same result.
Done a new restore.
In symbol field , if I modifiy one of the footprint field the other one is automatically updated with the new value
In symbol propertie , if i delete the content of the second footprint, the first one (kicad reserved) stay the same .
I deleted the second field ,the first stay alive.
In the .sch file F 2 is still present but F 9 is empty but present (normal?)
So my conclusions are :
If I want to remove the second footprint in symbol field I must modify the file that manages that window. (but it is really not necessary because I only have to uncheck the field to not see it)
if I want to remove the real second footprint field, I must delete every F9 line of each part.
But I have almost 800 parts… If you have any idea to do it in a fast way…
Symbols are clean because I didn’t add field to them. All fields have been added using preference-> field name template, or symbol field
Only symbols in schematics have duplicate field…
I cannot erase the field in Preference because it doesn’t exist …
Regarding the creation of new field , the result is not the same wether you create it with preference->field name template, symbol field or symbol property.
if you add a field in field name template it is created and displayed for all parts
if you add it in symbol field, it is created only if it has at least one part that has this field not void. And this field is displayed in symbol properties only for part where it is not void.
if you add a field in symbol propertie ,it is displayed only for this part (not displayed if you use symbol properties of another part)
I had a look to the entry. It is the normal behaviour and display when you add a field.
For me it is different because I think that something happened and now it is a little bit lost (I think that it is when I have switched from French to english language , but I’m not sure).
And as I told in a previous message : “In symbol field , if I modifiy one of the symbol field, the other one is automatically updated with this value” ->> it is not a normal behaviour. A field cannot modify the content of another one…
So I have found a solution .Maybe it can help someone who has got the same problem.
I have used a text editor and opened all .sch file in my project. Using replace command, I have replaced all words “Empreinte” with “xx” (whatever you want but Empreinte).
I have re opened my project and seen that now footprint has a single column and is displayed only one time.
I have erased all parts in xx field but I haven’t been able to remove the “xx” field .but i don’t care , I can deal with it.
That’s all …
I think I understand that in order to remove xx from your symbol fields list, you need to edit the properties of each component symbol by selecting xx and clicking on the trash can. Once you have deleted that field on all components in the schematic, the xx field will automatically disappear from the list of symbol fields.
I have tried once again and deleted all contents of all parts of the xx field.
I closed and restarted Kicad but field is not deleted .
Also tried to add the field name in preferences then closed and restarted without success…
So I renamed the field as “free1” in case I would need an extra field.