Dimension Commands
Dimension Commands
Dimension commands are used to create various types of dimension annotations, including linear, angular, radius, and more.
Dimension Overview
A dimension consists of the following parts:
- Dimension Line: A line showing the measurement direction
- Extension Line: A line extending from the dimension point to the dimension line
- Arrowhead: Markers at both ends of the dimension line
- Dimension Text: Text displaying the measured value
DIMLINEAR - Linear Dimension
Creates a horizontal or vertical linear dimension.
Command Name: DIMLINEAR
Alias: DLI
Usage
Command: DIMLINEAR
Specify first point: <Click or enter coordinates>
Specify second point: <Click or enter coordinates>
Specify dimension line location: <Click dimension placement location>
Created linear dimension: xxx.xxInstructions
- The dimension direction (horizontal/vertical) is determined by the dimension line location
- When the cursor is above/below the dimension points (large vertical offset), a horizontal dimension is created
- When the cursor is to the left/right of the dimension points (large horizontal offset), a vertical dimension is created
Associative Dimensions
When a pick point falls on a line entity, the dimension becomes associated with that line:
- When the associated line is moved, rotated, or scaled, the dimension updates automatically
- Displays "Created associative linear dimension"
Example
DIMLINEAR
0,0
100,0
50,-30DIMALIGNED - Aligned Dimension
Creates a dimension parallel to the line connecting two points.
Command Name: DIMALIGNED
Alias: DAL
Usage
Command: DIMALIGNED
Specify first point: <Click or enter coordinates>
Specify second point: <Click or enter coordinates>
Specify dimension line location: <Click dimension placement location>Differences from Linear Dimension
| Type | Measurement Direction |
|---|---|
| Linear Dimension | Horizontal or vertical component |
| Aligned Dimension | Actual distance between two points |
DIMANGULAR - Angular Dimension
Creates an angular dimension.
Command Name: DIMANGULAR
Alias: DAN
Usage
Command: DIMANGULAR
Select arc, circle, line, or <specify vertex>: <Select object or press Enter>Methods
- Select arc: Dimensions the included angle of the arc
- Select circle: Specify two points to determine the angle
- Select line: Select a second line to dimension the included angle
- Specify vertex: Manually specify three points for the angle
DIMRADIUS - Radius Dimension
Creates a radius dimension for a circle or arc.
Command Name: DIMRADIUS
Alias: DRA
Usage
Command: DIMRADIUS
Select circle or arc: <Select object>
Specify leader location: <Click dimension location>
Created radius dimension: Rxxx.xxInstructions
- Select a circle or arc
- Move the cursor to determine the leader direction and length
- When the cursor is outside the circle, the leader extends outward
- When the cursor is inside the circle, the leader points toward the center
Dimension Format
Radius dimensions display an "R" prefix, e.g., "R50"
DIMDIAMETER - Diameter Dimension
Creates a diameter dimension for a circle or arc.
Command Name: DIMDIAMETER
Alias: DDI
Usage
Command: DIMDIAMETER
Select arc or circle: <Select object>
Specify dimension line location: <Click dimension location>Dimension Format
Diameter dimensions display a "Ø" prefix, e.g., "Ø100"
DIMARCLENGTH - Arc Length Dimension
Creates an arc length dimension.
Command Name: DIMARCLENGTH
Alias: DAR
Usage
Command: DIMARCLENGTH
Select arc: <Select arc>
Specify arc length dimension location: <Click dimension location>Dimension Format
Arc length dimensions display an arc symbol prefix
DIMORDINATE - Ordinate Dimension
Creates an X or Y coordinate dimension for a point.
Command Name: DIMORDINATE
Alias: DOR
Usage
Command: DIMORDINATE
Specify feature location: <Click the point to dimension>
Specify leader endpoint: <Click leader endpoint>Automatic Detection
- When the leader moves more in the horizontal direction, the Y coordinate is dimensioned
- When the leader moves more in the vertical direction, the X coordinate is dimensioned
DIMCONTINUE - Continue Dimension
Creates a dimension continuing from the second extension line of the previous dimension.
Command Name: DIMCONTINUE
Alias: DCO
Usage
Command: DIMCONTINUE
Specify second extension line origin: <Click next dimension point>Workflow
- First create a linear or aligned dimension
- Execute DIMCONTINUE
- Continuously click subsequent dimension points
- Press Enter to finish
MLEADER - Multileader
Creates an annotation with a leader line.
Command Name: MLEADER
Alias: MLD
Usage
Command: MLEADER
Specify leader arrowhead location: <Click arrowhead location>
Specify leader landing location: <Click text location>DIMSTYLE - Dimension Style
Manages dimension styles.
Command Name: DIMSTYLE
Alias: D
Usage
Command: DIMSTYLEOpens the dimension style manager after execution, where you can set:
| Setting | Description |
|---|---|
| Dimension Line | Color, linetype, extension length |
| Extension Line | Color, offset, overshoot |
| Arrowheads | Style, size |
| Text | Style, height, position, alignment |
| Primary Units | Precision, prefix, suffix, scale |
Dimension Best Practices
Dimension Scale Settings
Set DIMSCALE according to the drawing scale:
- 1:100 drawing, DIMSCALE = 100
- 1:50 drawing, DIMSCALE = 50
Dimension Layer
It is recommended to place dimensions on a separate layer:
CLAYER
Dimensions
DIMLINEAR
...Continue Dimension Tips
Using DIMCONTINUE allows you to quickly create a series of continuous dimensions while keeping dimension lines aligned.
Script Example
; Create a rectangle with dimensions
LINE
0,0
200,0
200,150
0,150
C
; Dimension width
DIMLINEAR
0,0
200,0
100,-30
; Dimension height
DIMLINEAR
200,0
200,150
230,75Next Steps
- Text Commands - Create and edit text
- Inquiry Commands - Measurement and queries
- Command Reference - View all commands