In all the AutoCAD articles and tutorials so far we were focusing on basics and fundamentals. In this tutorial we will focus on the most important tool – AutoCAD Line Command. Line is one of the Basic AutoCAD Commands. Let’s look at how the AutoCAD Line Command functions.

## Line Definition

Line : Defined as an independent object, distinct from the set of points which lie on it. A Line is a segment that connects two points.

In two dimensions, the equation for non-vertical lines is often given in the *slope-intercept form*:

where:

*m*is the slope or gradient of the line.*c*is the y-intercept of the line.*x*is the independent variable of the function*y = f(x)*.

## AutoCAD Line Command

The AutoCAD Line Command can be accessed from many ways few are listed below

**1) AutoCAD Ribbon Panel
**

**Home Tab > Draw Panel > Line**

**2) From AutoCAD Command Line Display **

Typing LINE from command prompt display >

**3) Typing LINE from Dynamic Input or “L”
**

* To enable Dynamic Input – Press F12 Key*

## How to Draw a Line in AutoCAD

Use one of the above options to select the AutoCAD Line Command. After you select, click on First Arbitrary Point and in turn the desired Second Arbitrary point in the GUI ( Graphics User Interface ) see figure below

**Create Line in AutoCAD by Absolute Co-ordinate**

Absolute Coordinates uses the **Cartesian System** to specify a position in the** X**, **Y**, and (if needed)** Z **axes to locate a point from the** 0-X**, **0-Y**, and** 0-Z** (**0,0,0**) point. To locate a point using the Absolute Coordinate system, type the **X**-value, **Y**-value, and, if needed, the **Z**-value **separated by commas **(with **no spaces**).

Let us consider an example : Drawing a Line in AutoCAD by Absolute Coordinate System.

In the above figure, we have three points 1, 2 and 3 – which has coordinates – (0,0) (20,20) (20,30). To draw the line in Absolute Coordinate Method, we just follow the step below.

**Command: l**

**LINE**

**Specify first point: 0,0**

**Specify next point or [Undo]: 20,20**

**Specify next point or [Undo]: 20,30**

**Specify next point or [Close/Undo]:**

**Create Line in AutoCAD by Relative Co-ordinate**

To locate a point using the Relative Coordinate system, type the **X**-value, **Y**-value **with symbol “@” tell AutoCAD it was a relative coordinates. Using relative coordinate, points entered by typing @x,y [Enter]**

In the above figure, we have three points 1, 2 and 3 – which has coordinates – (0,0) (20,20) (0,30). To draw the line in Relative Coordinate Method, we just follow the step below.

**Command: l **

**LINE**

**Specify first point: 0,0**

**Specify next point or [Undo]: @20,20**

**Specify next point or [Undo]: @0,10**

**Specify next point or [Close/Undo]:**

**Create Line in AutoCAD by Polar Co-ordinate**

Polar coordinates used when you need to draw the next points at specify angle. Polar coordinates system in AutoCAD specifies distance length at which angle. Using polar coordinate, points entered by typing @distance<angle

In the above figure, we have three points 1, 2 and 3 – which has coordinates – (0,0) (@28.2845 < 45) (@10 < 90). To draw the line in Polar Coordinate Method, we just follow the step below.

**Command: l **

** LINE**

** Specify first point: 0,0**

**Specify next point or [Undo]: @28.2845<45**

**Specify next point or [Undo]: @10<90**

**Specify next point or [Close/Undo]:**

If you are willing to migrate from AutoCAD to Autodesk Inventor visit the blog – www.CADProfessor.in

paul says

very helpful.thank you so much.

Jorge says

Hi, I hope this is the site for the AutoDesk 3D book contest.

I am glad to see a book dedicated to only 3D. I have always had

a hard time in this area, and would love to master this skillset.

sam oge says

This is the best tutorial 3D i have come across, so explicit. Bravo!

KAMALDEEN BADMUS says

I WILL LIKE TO WIN YOUR E-BOOK