Skip to content
Tutorials Center
My learning

Topics

Lesson 6 of 38 ยท Interface and Setup

Command Line, Dynamic Input and Efficient Entry

Work faster in AutoCAD: command line options, Enter and Esc, undo and redo, transparent commands, dynamic input tooltips, direct distance entry, and shortcut keys for repeatable workflows.

AutoCAD is a command-driven program. Each action is a command with a sequence of prompts, and efficiency comes from knowing how to answer prompts quickly. This lesson covers the command line, Dynamic Input (the tooltips next to the cursor), undo and cancel, and function keys.

Anatomy of a prompt

A prompt looks like this:

Specify next point or [Close/Undo]:

Text before the brackets is the default action (here: pick a point). Options are in square brackets separated by slashes. The capital letters show what to type: C for Close, U for Undo. You can type the letters, or right-click to choose the option from a shortcut menu. Some prompts show a default value in angle brackets, such as Specify radius <250.0>:; pressing Enter accepts it.

Enter, Space, Esc

  • Enter (or Space, or right-click then Enter) confirms input and, on an empty prompt, repeats the last command.
  • Esc cancels the current command completely. Press it twice to also clear selections and grips.
  • Right-click behaviour can be set in OPTIONS > User Preferences > Right-click Customization.

Undo, redo and the history

U (or Ctrl+Z) undoes one operation; UNDO offers options such as Back, Mark and a count. REDO (Ctrl+Y) restores the last undo, but only right after it. Inside a command like LINE, typing U removes just the last segment while you continue. The command history (F2) shows what happened and lets you copy prompt text.

Transparent commands

Some commands can be used inside another command by putting an apostrophe before the name: 'ZOOM, 'PAN, 'LAYER, and aliased view commands. This lets you change the view in the middle of drawing without cancelling. The prompt shows >> while the transparent command runs.

Dynamic Input

Dynamic Input (F12) shows prompts and input fields next to the cursor, so you can keep your eyes on the drawing. It has three parts:

  1. Pointer input: the cursor's coordinates (for the first point) or a distance and angle (for later points). Type a number, press Tab to lock it and move to the next field, type the angle, then Enter. After the first point, values are relative by default.
  2. Dimension input: shows lengths and angles as you stretch objects or grips.
  3. Dynamic prompts: shows the prompt text near the cursor.

With Dynamic Input on, to give an absolute coordinate use #: for example, #100,50. To avoid the tooltips altogether, turn Dynamic Input off with F12 and type into the command line. Many experienced drafters mix the two: Dynamic Input for quick distance and angle entry, the command line for options.

Direct distance entry

With Ortho (F8) or Polar Tracking (F10) on, you move the cursor in a direction and type just a distance:

  1. LINE, click a start point.
  2. Move the cursor to the right, type 3000, Enter.
  3. Move up, type 2000, Enter.
  4. Type C and Enter to close.

No coordinates, no @. The method works for LINE, MOVE, COPY, offsets, and any command asking for a distance or point.

Function keys worth memorising

Key Action
F1 Help
F2 Text history window
F3 Object snap on/off
F7 Grid display
F8 Ortho
F9 Snap mode
F10 Polar tracking
F11 Object snap tracking
F12 Dynamic input

The status bar buttons are the same toggles. A toggle button looks highlighted when it is on.

Repeating, multiple and last commands

Typing MULTIPLE before a command name repeats it until you press Esc. Right-click, then "Recent Input" shows previous typed values. The LASTPOINT behaviour (typing @ alone as a point) returns to the last point used.

Stand-in: tokenising typed input

The stand-in below handles how the command line interprets an entry at a "Specify point" prompt: absolute, relative, polar, a distance (direct entry) and an option keyword. It is a teaching model, not AutoCAD's real parser.

Python Stand-in: classify a typed response

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Stand-in: Undo inside LINE

Python Stand-in: LINE with U (undo last segment)

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Working habits

  • Decide per task: Dynamic Input for quick lengths, command line for options and precise coordinates.
  • Learn the aliases of your ten most-used commands.
  • Keep your left hand on the keyboard (Enter, Space, F-keys) and your right on the mouse.
  • Read the prompt. If something unexpected happens, press Esc and start the command again.

Common mistakes

  • Pressing Enter after typing a # or @ with Dynamic Input in a different mode than you expect.
  • Forgetting that Tab moves between Dynamic Input fields, so you type angle before pressing Enter.
  • Not noticing a command is still active; the prompt changes to something unexpected.
  • Using Undo too far: use UNDO with a number or marks for control.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. In the prompt [Close/Undo], what do you type to close the shape?

    The capital letter of each option shows what to type. Close is C.
  2. 2. Which key cancels the current command?

    Esc cancels the active command. F2 shows text history, Tab moves between dynamic fields, F8 toggles Ortho.
  3. 3. With Dynamic Input on, how do you type an absolute coordinate for the second point?

    The # prefix forces absolute entry because Dynamic Input treats later points as relative.
  4. 4. What is the apostrophe before a command name used for?

    'ZOOM or 'PAN run transparently without ending the current command.

Summary

  • Prompts show a default, bracketed options and capital letters to type.
  • Enter and Space confirm and repeat; Esc cancels; U and Ctrl+Z undo.
  • Dynamic Input (F12) puts coordinates and prompts at the cursor; use # for absolute values.
  • Direct distance entry plus Ortho or Polar is the quickest way to draw straight geometry.
  • Memorise the F-key toggles and the aliases you use most.

Next: Zoom, Pan and Views