How to make lines visible in 3d view


is there a way to convert lines into element that is visible in 3d view. i tried to use detailed lines but it shows null.


Have you tried “ModelCurve.ByCurve”?
Detail line is not for 3D viewport.

thankyou its working.
can i change the color and type of detailed line?