← Back to team overview

kicad-developers team mailing list archive

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