GstarCAD command

DIM command

Create multiple types of dimensions with one intelligent command that automatically detects suitable dimension types from selected geometry.

Command
DIM
Alias
—
Tool group
Annotate
Level
Beginner

What does DIM do?

DIM provides a unified workflow for creating several common types of dimensions without repeatedly switching between separate dimension commands. GstarCAD analyses the selected geometry and previews a suitable dimension type automatically. For example, selecting a line normally produces a linear dimension, a circle produces a diameter dimension and an arc produces a radius dimension.

How to use the command

  1. Type DIM, then press Enter.
  2. Move the cursor over the object that you want to dimension and review the dimension preview.
  3. Select the object, or specify two extension-line origin points for a linear dimension.
  4. Move the cursor to position the dimension line.
  5. Click to place the dimension at the required location.
  6. Continue creating additional dimensions without restarting the command.
  7. Press Esc when you have finished.
Command: DIM ↵
Select object or specify first extension line origin or [Angular/Baseline/Continue/Ordinate/Align/Distribute/Layer/Undo]: select line
Specify dimension line location: pick location

Key DIM options

The intelligent DIM command combines dimension creation with several tools for organising and continuing dimensions.

Angular
Creates an angular dimension between lines or from three specified points.
Baseline
Creates additional dimensions from the first extension line of a previous or selected base dimension.
Continue
Creates chained dimensions from the second extension line of the previous or selected dimension.
Ordinate
Creates an X or Y coordinate dimension for a specified point.
Align
Aligns multiple parallel, concentric or common-base dimensions with a selected reference dimension.
Distribute
Arranges selected linear or ordinate dimensions using equal spacing or a specified offset.
Layer
Specifies the layer on which subsequent dimensions created with the command will be placed.

Practical example: dimension a line and circle

Suppose a mechanical drawing contains a 2000 mm line and a circular hole. Start DIM and select the line. GstarCAD previews a linear dimension; position it above the object and click to place it. Without leaving the command, select the circle. GstarCAD automatically switches to a diameter dimension, allowing both annotations to be created through the same workflow.

Tip

Use DIM when several different types of dimensions are required in the same area. For repetitive specialist work, commands such as DIMLINEAR, DIMALIGNED or DIMRADIUS can still provide a more direct workflow.

All commands Updated 1 October 2026
Continue learning
View all commands

Ready to switch to GstarCAD?

Get personalized advice on licensing, migration, and deployment for your business.

Contact us Buy now

No obligation — reply within 24h

Your Cart

Subtotal

Price does not include local taxes or duties.

Proceed to Checkout

Cookie preferences

Choose which cookies you want to allow. Essential and payment cookies cannot be disabled as they are required for the site to function.

Essential

Required

Core functionality including authentication, shopping cart, and language preferences.

Payment

Required

Required for processing payments securely through Stripe and PayPal.

Analytics

Help us understand how visitors interact with our site to improve the experience.

Marketing

Used to deliver relevant advertisements and measure campaign performance.

Functional

Order attribution and traffic source tracking to help us understand how customers find our store.