DIM — GstarCAD 2027
DIM
GstarCAD 2027 · Command Reference
Commands > D Command > DIM
Function Description:
You can create multiple dimensions and types of dimensions with a single command. The DIM command supports dimension types include linear dimensions, ordinate dimensions, angular dimensions, radius dimensions, diameter dimensions, arc length dimensions.
When you hover over an object, the DIM command automatically generates a preview of a suitable dimension type to use.
You can select objects or points on objects to dimension, and then click to place the dimension line.

Command Access:
Icon:

Menu: /
Ribbon: Home>Annotation>Dimension
Toolbar: Dimension>Dimension
Command: DIM
Command aliases: /
Command Prompts:
Select objects or specify first extension line origin or [Angular/Baseline/Continue/Ordinate/aliGn/Distribute/Layer/Undo]:
Select objects
Defaults to an applicable dimension type for the objects you select and displays the prompts corresponding to that dimension type. You can create dimensions or switch dimension types according to the prompts.
List of Specific Descriptions:
| Object type | Default |
| Line | Linear dimensions |
| Circle | Diameter dimensions |
| Arc | Radius dimensions |
| Linear dimension, Angular dimension or Ordinate dimension | Continued dimensions, depending on the base dimension |
First extension line origin
Creates a linear dimension when you specify two points.
Angular
Creates an angular dimension showing the angle between three points by or the angle between two lines (same as the DIMANGULAR command).
- Vertex: Specifies the point to use as the vertex of an angular dimension.
- Specify first side of angle: Specifies one of the lines that defines the angle.
- Specify second side of angle: Specifies the other line that defines the angle.
-
Specify angular dimension location: Specifies the quadrant and location for the arc dimension line.
-
Mtext: Edits the dimension text in the Text Editor.
- Text: Edits the dimension text in the Command window.
- Text angle: Specifies the angle of the dimension text.
-
Undo: Returns to the previous prompt.
-
Undo: Returns to the previous prompt.
Baseline
Creates a linear, angular, or ordinate dimension from the first extension line of the previous or selected dimension (same as the DIMBASELINE command).
- First extension line origin: Specifies the first extension line of the base dimension as the extension line origin for the baseline dimension.
- Second extension line origin: Specifies the next edge or angle to dimension.
- Select: Prompts you select a linear, ordinate, or angular dimension to use as the base for the baseline dimension.
- Offset: Specifies the offset distance from which the baseline dimensions are created.
- Undo: Undoes the last baseline dimension created.
Continue
Creates a linear, angular, or ordinate dimension from the second extension line of a selected dimension (same as the DIMCONTINUE command).
- First extension line origin: Specifies the second extension line of the base dimension as the extension line origin for the continued dimension.
- Second extension line origin: Specifies the next edge or angle to dimension.
- Select: Prompts you select a linear, ordinate, or angular dimension to use as the base for the continued dimension.
- ?Undo: Undoes the last continued dimension created.
Ordinate
Creates an ordinate dimension (same as DIMORDINATE command).
-
Feature location: Prompts for a point on a feature such as an endpoint, intersection, or center of an object.
-
Leader endpoint: Specify the leader position for ordinate dimensions. Uses the difference between the feature location and the leader endpoint to determine whether it is an X or a Y ordinate dimension. If the difference in the Y ordinate is greater, the dimension measures the X ordinate. Otherwise, it measures the Y ordinate.
- Xdatum: Measures the X ordinate and determines the orientation of the leader line and dimension text.
- Ydatum: Measures the Y ordinate and determines the orientation of the leader line and dimension text.
- Mtext: Edits the dimension text in the Text Editor.
- Text: Edits the dimension text in the Command window.
- Text angle: Specifies the angle of the dimension text.
-
Undo: Returns to the previous prompt.
-
Undo: Returns to the previous prompt.
Align
Aligns multiple parallel, concentric, or same datum dimensions to a selected base dimension.
- Base dimension: Specifies a dimension to use as basis for the dimensions alignment.
- Dimension to align: Specifies the dimensions to align to the base dimension.
Distribute
Distributes a group of selected isolated linear or ordinate dimensions.
-
Specifies the method on how to distribute dimensions:
-
Equal: Equally distributes all selected dimensions. This method requires a minimum of three dimension lines.
- Offset: Distributes all selected dimensions at a specified offset distance.
Layer
Assigns new dimensions to the specified layer.
- Enter layer name: Specifies a layer by entering its name.
- Enter " . ": Uses the current layer.
- Select objects: Specifies a layer by selecting objects.
- Enter " ?": Lists all layers in the current drawing.
- Exit: Returns to the previous prompt.
Undo
Returns to the previous prompt.
Handle overlapping dimensions
The following options are displayed when you place a dimension in such a way that it overlaps an existing dimension. As shown in the following figure.
Specify how to handle overlapping dimensions [Move away/Break up/Replace/None]\< Move away>:
- Move away: Arranges the existing dimension and the newly inserted dimension into a baseline dimension type.
- Break up: Splits up the existing dimension into two dimensions, and arranges those dimensions into a continued dimension type. The parts of the existing dimensions that completely overlap with newly created dimension, as well as the dimensions that have been broken up multiple times, will use the current dimension style.
- Replace: Deletes the existing dimension and replaces it with the one you insert.
- None: Inserts the new dimension on top of the existing dimension.


Note: If Intelligent DIM is disabled in the application manager, the DIM command will be executed in normal DIM mode. For details, refer to DIM1 command.