Bake color lines into Rhino

Hi!

I’m creating a drawing on GH, made entirely of lines. Each line will also have a different color depending on some parameters. (This preview is only a part)

How do I bake this into Rhino so I can render keeping the colours? Custom Preview allows me to see the colour, but Baking takes the colors from the destination layer.
Thanks a lot

Well I was just able to do this with “Object Bake” Component from Lunchbox. =)
Just curious if there are other methods available

Elefront has component to bake objects on layers with predefined attributes.