Line color


My .Net plugin creates lines using Autodesk.DesignScript.Geometry.Line, they are allow shown in blue
Is there is a simple way to change their colors please, i.e. using Geometry.Line not other elements

Thanks in advance

Note that GeometryColor.ByGeometryColor does the job in Dynamo only, I wonder if we can achieve the same result back in Revit

I think that you will have to use your script to automatically create a new line type with a color parameter which you then asign the color to. (I am not sure but maybe that could work)