AutoCAD Tutorials (categ.)

1.3.1 - Draw a line - Basic

A line is the most basic object and can be consisted by one segment or a series of connected segments.
You can assign properties to lines, as color, linetype and line weight.

The Line command is used to draw segments of straight lines.
To draw a straight line you need to specify the first point of the line and then the next point of the line.
A (2D)point is specified by inserting it's coordinates (x,y), and this is precise method, or by clicking a point with your mouse on the screen.

To draw Lines:

  1. On Ribbon ► Click Home tab ► Draw panel ► Click the Line icon (hover on)acad icon line 1528.

There are two methods to draw lines:

- Draw lines using the Command line prompt at the bottom of your screen.

  1. Command Line prompt says: Specify first point: Using the mouse ,left-click anywhere on the screen to specify the first point.
  2. Command line prompt says: Specify next point or [undo]: Using the mouse ,left-click on another point on the screen to specify the second point of the line.
  3. Command line prompt says: Specify next point or [undo]: Move the mouse on another point on the screen and left-click again.

You can repeat this as many times as you wish. When you are done, click Enter or Esc.

You will have drawn some lines on your screen, as shown in Fig.

Fig. - Draw Lines using the Dynamic Input

Fig. - Draw Lines using the Dynamic Input

  • You can use the Undo command at any time to undo the last specified point, hence the last specified segment of the line.
  • After you draw two segments, if you choose the close option you will able to connect the last point with the first point of your segments and to end the command.
  • If you are using the Line command and you right-click, you will get the drop-drawn menu as shown in Fig. and you can use any of it's tools.
  • To see the properties of a line just clicl on it, the Quick Properties panel opens, where you can see and change some of its properties. This assumes that the quick properties button,at the status bar is turned ON (its color has to be cyan) (hover on) . <br />You can also right-click on the line , and select from the drop-down menu "Properties". On the Properties panel, that will appear, you will see and edit the properties of the line.

- Draw lines using the Dynamic Inputs icon at the Status bar (hover on)acad icon dynInput 28 ,
which provides a command interface near the cursor ( fig. ): Before you begin to draw, verify on the Status Bar that the Dynamic Input button is ON (it's color has to be cyan).

Dynamic Input has three components: pointer input, dimensional input, and dynamic input.
If you right-click the dynamic input button - on the status bar - and choose the Settings, (hover on)acad icon dynInput 28 , the Drafting Settings/Dynamic Input dialog box will open (Fig., where you can control what is displayed by each component when the dynamic input is ON.

Fig. - Dynamic Input Settings

Fig. - Dynamic Input Settings

When the Line command is active and the dynamic input is on, you will see near the cursor the command prompt : specify first point and two boxes for entry of values (fig

You can specify the first point of your line by picking a point with your mouse, or your can type the coordinates of your first point by typing in the first box the x-coordinate (fig., that is 10 for this example, press TAB and insert the y-coordinate in the second box, that is 20, and press ENTER.

You can also type both coordinates with a comma between them , in your case type 10,20 (but don't forget the comma).

To draw the next point of the line with the dynamic input command prompt, pick a point with your mouse or for more accuracy type in the box the distance between the two points (fig., press TAB and insert in the second box the angle of the line, and then press ENTER if you want to end the command.