# How to color line set with vertex colors?

I would like to use vertex colors to paint an extruded line set but do not succeed to do it.

In detail, I export a scene in X3D format from paraview. It consist of a panels and lines that are colored according to a VTK field (cf. picture below).

Then when I import this X3D file into Blender, I get these three fields :--

• Shape_IndexdedFaceSet (for ship panels)
• Shape_IndexdedLineSet (for ship lines : tower)

I have no problem to show vertex colors on the FaceSet (using an attribute and material output in cycles rendering mode) but the same does'nt work for the Bevel extruded LineSet (cf. picture below where the lines remain desperately black).

Any idea how to do that ? Is there a hidden option I missed ?

• Is the mast imported as a a mesh or a curve. Related 1 2 Mar 22 '18 at 9:17
• I think it's a curve. Where can I check that ? Mar 22 '18 at 9:19
• Select it. Will have a curve for data icon on properties panel. Or go into edit mode (will be a curve menu) or in python console type C.object.type or the tools panel will have tools for curves. Mar 22 '18 at 9:23
• I confirm it is a curve Mar 22 '18 at 9:35
• Could convert to mesh object > convert to > mesh and use method outlined in link above. As for colouring curve in cycles, that's outside my field. Mar 22 '18 at 10:10