<a href=https://drawing-portal.com/en/creation-of-objects-in-autocad/line-in-autocad.html>here about</a> a straight line in AutoCAD.