GstarCAD 2027 · Command Reference
Commands > D Command > DIMLINEAR
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]:
After specifying the first extension line origin, it will prompt to specify the second extension line origin.
Uses the point you specify to locate the dimension line and determines the direction to draw the extension lines.
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.
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.
Changes the angle of the dimension text.

Creates horizontal linear dimensions.

Creates vertical linear dimensions.

Creates rotated linear dimensions.

Related References:
Related Concepts:
Related Tasks:
Article ID: 4364
Created: September 26, 2026
Last Updated: September 25, 2026
Author: kbadmin
Online URL: https://kb.gstarcad.com.my/article/dimlinear-command-gstarcad-2027-4364.html