Using Ruby to customise Open cut list extension

Hi all.

The latest update of OpenCutLust extension says exporting a parts list can be customised with Ruby code.

We have multiple tags on our components for example “A.red,B.green,C.blue”. When we export to microsoft excel all the tags are in one column. Is there a way to add ruby code so the tags for components are all in their own column ?. Also is a formula possible using ruby. For example a column that shows materials total (which would multiply the quantity column with the length column)

Hopefully this makes sense
Thanks in Advance.

Hi @david_hashimoto ,

Late answer, but if you know how many tags you have, you can manually add the number of custom column and in each one select the desired Tag with a ruby formula to extract individual element [0], [1], … of the tags array.

(This screenshot was taken with next 5.0 version where Tags will be renamed to Badges)

Regards