The Rectangle command in AutoCAD 2026 is used to define two diagonal corners in order to draw a rectangle. The Rectangle command can be entered directly or accessed via the toolbar or command line. You can specify the rectangle’s size and placement with this command.
Command Syntax:
- RECTANGLE: You can type
RECTANGLE
or simply use the abbreviationREC
in the command line. - Optionally, you can use:
- Dimensions: Specify the rectangle’s length and width after the first corner.
- Chamfer: Apply a chamfer (angled cut) to the corners of the rectangle.
- Fillet: Round the corners of the rectangle.
Example 1: Basic Rectangle (Using Two Diagonal Corners)
- Type
RECTANGLE
(orREC
). - Click to specify the first corner point.
- Move your cursor to the opposite diagonal corner and click, or type the exact coordinates for the opposite corner.
Steps:
- Type
REC
→ Select the first corner (e.g.,(0,0)
) → Drag to specify the second corner, say(5,3)
.
Result: A rectangle is drawn with the bottom-left corner at (0,0) and the top-right corner at (5,3).
Example 2: Rectangle with Dimensions
- Type
RECTANGLE
and pressEnter
. - After specifying the first corner, type
D
for the Dimensions option. - Enter the length and width values, such as
5
for the length and3
for the width.
Steps:
- Type
REC
→ Click the first corner → TypeD
→ Enter5,3
for the length and width.
Result: A rectangle is created with dimensions 5 units by 3 units, starting from the first corner.
Example 3: Rectangle with Chamfered Corners
- Type
RECTANGLE
and pressEnter
. - After specifying the first corner, type
C
for Chamfer. - Enter the distance for the chamfer (e.g.,
1
for each chamfer distance).
Steps:
- Type
REC
→ Select the first corner → TypeC
→ Enter the chamfer distance (e.g.,1
).
Result: A rectangle is drawn with chamfered corners, where the angle between the edges is cut by 1 unit.
The Rectangle command in AutoCAD allows you to quickly change the corners and shape of your rectangles, as these examples show.