It is not impossible to do, but you might need to set up a plugin. CAD can export the lines to SVG, this is what you should do. The SVG format can be turned into a set of coordinates to be stored in a UE datatable asset, or it can be directly converted to a spline. There are more people with your question how to do this and several solutions are available.
Export spline from Blender to Unreal Engine | by Alex S. | Medium
The spline importer plugin which I send a link of works with FBX files. This is useful if you have to work with 3D software like blender or Max to get things running as they can store the data from CAD into an FBX format. * It does .svg as well. Check out these links to see if something fits your requirements.