9.99: Cannot use user defined symbol fields in BOM export any more?

BOM export: I defined a field ${WIO_Prefix}${Value}${Case} obviously containing user created symbol fields. Gave me a nice e.g. CTS10µ3216 as a part ID for my private inventory system and the import into PartsBox.
Worked like a charm. But not anymore since a few nightlies.

Any idea what changed?

[EDIT]: Doesn’t work in 9.0.2 either
[EDIT 2]: Worked in 9.0.0

You can do the concatenation inside the Python BOM export plugin instead. Here’s how:

  1. Go to your BOM plugin (usually a .py script like bom_csv_grouped.py or similar).
  2. Modify the line where the custom part ID is generated to something like:
part_id = '{}{}{}'.format(part.getField("WIO_Prefix"), part.getField("Value"), part.getField("Case"))

And then assign part_id to the column you want in the BOM export.

Thx. That’s what I did in the olden days. Unfortunately I have to maintain that on each KiCad update (at least copy the changed file over)…

Would be interesting to know what changed in this area between 9.0.0 and current nightlies.

If it worked in 9.0.0 and doesn’t in 9.0.2, it might be worth reporting as a bug for the stable branch (9.0.x).

Yeah, sure. But considering the bug backlog I prefer to ask here first. Could be a design decision. Then that changes to a wishlist item. But in some way or the other I will file it.

I don’t mark it a solution right now (maybe in a week or so), maybe a dev drops by and clarifies…