How to make lines visible in 3d view

hello.

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.

image

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?