I am trying to color a list of lines using the GeometryColor.ByGeometryColor, but it returns the following error: “Warning: GeometryColor.ByGeometryColor expects argument type(s) (Autodesk.DesignScript.Geometry.Geometry, DSCore.Color), but was called with (Autodesk.DesignScript.Geometry.Line, Function).”
What is the correct way/ node for coloring lines. (I am hiding the previews of the other nodes)
Hi @Nuraan,
Welcome to the Dynamo community.
What you are doing is extracting the red component of a color.
Instead you need to use the Color.ByARGB node as shown below