# DIMLINEAR Command
[GstarCAD 2027](Help%20System/GSTARCAD/2027/Index.md) → [Commands](Help%20System/GSTARCAD/2027/Commands/(Commands).md)
**Function Description:**
This command is used to create a linear dimension. Creates a linear dimension with a horizontal, vertical or rotated dimension line. This command can be replaced by DIMHORIZONTAL and DIMVERTICAL commands.
**Command Access:**
> **Icon:** 
> **Menu:** Dimension > Linear
> **Ribbon:** Annotation > Dimension > Linear
> **Toolbar:** Dimension > Linear
> **Command:** DIMLINEAR
> **Alias:** DLI
**Command Prompts:**
```
Specify first extension line origin or <select object>:
Select object to dimension:
Specify dimension line location or
[Mtext/Text/Angle/Horizontal/Vertical/Rotated]:
```
## **First extension line origin**
After specifying the first extension line origin, it will prompt to specify the second extension line origin.
## **Dimension line location**
Uses the point you specify to locate the dimension line and determines the direction to draw the extension lines.
## **Mtext**
Edits the dimension text by In-place Text Editor. Users can enter special characters and symbols by control codes or Unicode character strings.
If alternate units are not turned on in the dimension style, users can enter square brackets ([]) to display them.
The current dimension style determines the appearance of the generated measurements.
## **Text**
Customizes the dimension text at the Command prompt.
The generated dimension measurement is displayed in angle brackets (<>).If alternate units are not turned on in the dimension style, users can enter square brackets ([]) to display them.
User can reset the dimension text properties in Text tab of the New, Modify, and Override in Dimension Style Manager dialog box.
## **Angle**
Changes the angle of the dimension text.

## **Horizontal**
Creates horizontal linear dimensions.

## **Vertical**
Creates vertical linear dimensions.

## **Rotated**
Creates rotated linear dimensions.

---
**Related References:**
- [Commands about Basic Dimensioning (GstarCAD 2026)](../../2026/Commands/00%20Command%20Groups/Commands%20about%20Basic%20Dimensioning.md)
- [Commands about Linear Dimensions (GstarCAD 2026)](../../2026/Commands/00%20Command%20Groups/Commands%20about%20Linear%20Dimensions.md)
**Related Concepts:**
- [About the Types of Dimensions (GstarCAD 2026)](../../2026/Commands/About%20the%20Types%20of%20Dimensions.md)
**Related Tasks:**
- [To Create Linear Dimensions (GstarCAD 2026)](../../2026/Commands/01%20Procedures/To%20Create%20Linear%20Dimensions.md)
- [To Create Radial Dimensions (GstarCAD 2026)](../../2026/Commands/01%20Procedures/To%20Create%20Radial%20Dimensions.md)
- [To Create Angular Dimensions (GstarCAD 2026)](../../2026/Commands/01%20Procedures/To%20Create%20Angular%20Dimensions.md)
- [To Create Arc Length Dimensions (GstarCAD 2026)](../../2026/Commands/01%20Procedures/To%20Create%20Arc%20Length%20Dimensions.md)
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2027_en-US/detail/commandReferences/DIMLINEAR.html) · © Gstarsoft Co., Ltd.