Writes line data in DXF  LTCustomizer21 for AutoCAD LT reference manual

ActiveX
   
Function write_DXF_line(x As Double, y As Double, z As Double, x2 As Double, y2 As Double, z2 As Double) As Boolean
C/C++
   int WINAPI LTC_write_DXF_line(const double start_xyz[3],const double end_xyz[3]);

parameter
x,y,z or start_xyz[]:start point (In case of C/C++, 1st index indicates X, 2nd indicates Y, 3rd indicates Z.)
x2,y2,z2 or end_xyz[]:end point (In case of C/C++, 1st index indicates X, 2nd indicates Y, 3rd indicates Z.)

return value
ActiveX: True: success. False: failure
C/C++: 1: success. 0: failure

This function writes "LINE" data.

reference
write_DXFentities