kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #35896
Re: More default fields in schematic
I can confirm that default fields only get added when the symbol is edited AND the default field’s value is non-empty. So it doesn’t seem to me that the proposed patch would pollute existing BOMs. Or am I missing something?
Seth’s comment regarding localisation is an issue, though, as we don’t currently translate default fields.
> On 22 May 2018, at 17:53, Wayne Stambaugh <stambaughw@xxxxxxxxx> wrote:
>
> On 5/22/2018 12:43 PM, Jeff Young wrote:
>>> It should output all fields defined in schematic symbols regardless if
>>> each optional field is defined in every symbol. If they are outputting
>>> anything other than that, I would consider this a bug.
>>
>> I had trouble parsing this. Are you saying that the list of output fields should be the union of all fields which have a value somewhere (but excluding default fields which are uniformly blank)?
>
> Yes. It should be the equivalent of a logical OR. If a field exists in
> a single symbol, it should get added to the BOM.
>
>>
>> As it stands in 5.0, default fields don’t get pushed to symbols unless the symbol is edited. At that point I’m not sure if they’re all pushed, or only those with values.
>>
>
> It used to be that fields only get saved when they are added to the
> symbol using the edit symbol properties dialog. That code has changed a
> lot since it was originally written so I cannot confirm this.
Follow ups
References
-
More default fields in schematic
From: kristoffer Ödmark, 2018-05-20
-
Re: More default fields in schematic
From: Seth Hillbrand, 2018-05-20
-
Re: More default fields in schematic
From: Kristoffer Ödmark, 2018-05-20
-
Re: More default fields in schematic
From: José Ignacio, 2018-05-20
-
Re: More default fields in schematic
From: kristoffer Ödmark, 2018-05-20
-
Re: More default fields in schematic
From: Andrey Kuznetsov, 2018-05-20
-
Re: More default fields in schematic
From: Wayne Stambaugh, 2018-05-21
-
Re: More default fields in schematic
From: kristoffer ödmark, 2018-05-22
-
Re: More default fields in schematic
From: Jeff Young, 2018-05-22
-
Re: More default fields in schematic
From: Wayne Stambaugh, 2018-05-22
-
Re: More default fields in schematic
From: Jeff Young, 2018-05-22
-
Re: More default fields in schematic
From: Wayne Stambaugh, 2018-05-22