# DIMLINEAR Command
[GstarCAD 2012](../../Index.md) → [Commands](../%28Commands%29.md) → [D](%28D%29.md)
**Function Description:**
> Create a linear dimension
**Menu:**
> Dimension\>Linear
**Command Entry:**
> DIMLINEAR
Command Prompt:
> Specify first extension line origin or \<select object\>:*Specify a point or press* ENTER
> *to select an object to dimension*
>
> After you specify the extension line origin points or the object to dimension, the following prompt is displayed:
>
> Specify dimension line location or \[Mtext/Text/Angle/Horizontal/Vertical/Rotated\]: *Specify a point or enter an option*
>
> About Mtext、Text、Angle、Rotate ,please reference
> [DIMALIGNED](DIMALIGNED%20Command--5bbb8ec92a18.md) Command introduction
>
> **Horizontal:** Create horizontal linear dimensions.
>
> **Vertical:** Create vertical linear dimensions.
## Other versions with matching text
[GstarCAD 2011](../../../2011/Commands/D/DIMLINEAR%20Command--242363211827.md)