As noted in the other thread I’ve linked to, and in the colorMeshFaces
function in my first post, the Mesh.VertexColors.SetColor
method prerequisites the input mesh to have vertex colors:
cmesh_demo_2023Sep24aa_fix.gh (20.7 KB)
Which I’d probably consider a bug, or at least unexpected.