# DIMLINEAR Command [GstarCAD 2023](Help%20System/GSTARCAD/2023/Index.md) → [Commands](Help%20System/GSTARCAD/2023/Commands/(Commands).md) → [D](Help%20System/GSTARCAD/2023/Commands/D/(D).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:** ![](Help%20System/GSTARCAD/2023/assets/e484f670e90fd391262505543b33fa47e5972899a7d82fe22eb55409ce177f82.png) > **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. ![](Help%20System/GSTARCAD/2023/assets/f5bacbf293ed337ea810f302cc5b94412d3734587b137d6128b5fe0774f27770.jpg) ## **Horizontal** Creates horizontal linear dimensions. ![](Help%20System/GSTARCAD/2023/assets/ea65108b8d3b2ff2762c45525ef10e882f5695d7e65f6288da556ff23f3f8371.jpg) ## **Vertical** Creates vertical linear dimensions. ![](Help%20System/GSTARCAD/2023/assets/b9568f40df99cfb855955181123272131d6a7a220085e2385c2819952d17559e.jpg) ## **Rotated** Creates rotated linear dimensions. ![](Help%20System/GSTARCAD/2023/assets/1aa3e8823996e0e1337460d835d2c40b1bc2191e42d7b79f75a72819c16a70ff.jpg) --- **Related References:** - [Commands about Basic Dimensioning](Help%20System/GSTARCAD/2023/Commands/00%20Command%20Groups/Commands%20about%20Basic%20Dimensioning.md) - [Commands about Linear Dimensions](Help%20System/GSTARCAD/2023/Commands/00%20Command%20Groups/Commands%20about%20Linear%20Dimensions.md) **Related Concepts:** - [About the Types of Dimensions](Help%20System/GSTARCAD/2023/Commands/02%20Concepts/About%20the%20Types%20of%20Dimensions.md) **Related Tasks:** - [To Create Linear Dimensions](Help%20System/GSTARCAD/2023/Commands/01%20Procedures/To%20Create%20Linear%20Dimensions.md) - [To Create Radial Dimensions](Help%20System/GSTARCAD/2023/Commands/01%20Procedures/To%20Create%20Radial%20Dimensions.md) - [To Create Angular Dimensions](Help%20System/GSTARCAD/2023/Commands/01%20Procedures/To%20Create%20Angular%20Dimensions.md) - [To Create Arc Length Dimensions](Help%20System/GSTARCAD/2023/Commands/01%20Procedures/To%20Create%20Arc%20Length%20Dimensions.md) --- [Original help](https://www.gstarcad.net/help/GstarCAD_2023_en-US/detail/commandReferences_D/DIMLINEAR.html) · © Gstarsoft Co., Ltd.