Define a line with the XML code below.
Name the layer and give the layer a color of your choice.
The line created by the DXF API has no thickness and is fixed with two (x,y) coordinates.
Feel free to create a multi-line product by copying the XML code as much as you want.