Changing the color of the "Line.ByStartPointEndPoint" node

Is there a way to change the color of the “Line.ByStartPointEndPoint” node? I have multiple lines created using this node for different purposes so it gets hard to tell them apart, so I’d like to color code the lines but can’t seem to find any nodes that let me change the line colors. Any help would be greatly appreciated, thanks!

@hle something like that?

You will have to ensure that the list structure for the color overrides is consistent with the list structure of the line / color override input. (e.g. 3 colors for 3 groups of lines)

Also, note the requirement for previous nodes that display the line geometry to be turned off.

Hope that helps a bit :slightly_smiling_face:


Thanks for the quick responses, while the color is changed within dynamo it is still displaying as blue in revit, is there a way to change it in revit as well?

As far as I know, the Revit Preview can’t be changed. It is what it is, a preview.