grp input (Group Index) wants a different group_id (an int) for each group: if your Rhino drawing already has some groups in it, then I would make the Serie component start from a higher value, like 10K in order to not insert these baked geometries into any eventually existing group
I believe there’s no “natural” R8 way to handle Rhino groups at the moment, not even in the R8 GH last-released components
I added a second option to your file with all surfaces defined as non-uniform scaled instances of a 1x1 unit surface. There are two differences. Firstly we have just one block definition and it has one color. Green and blue are only added as material on the block instances. It’s like having 204 pieces of wood with two different paints. The second difference is the file size. One block definition is much less geometry data. The non-uniform scaling might not be the norm however.
Thank you again @martinsiegrist, this has been quite helpful for baking grouped colored objects—I was just thinking of this while working on something else now, but involving text instead of color; pretty much what’s mentioned here 12 years apart lol. Can sets of objects+text be baked grouped and would they have to be blocks as well?