GstarCAD command

DIST command

Learn how to use DIST in GstarCAD to measure 2D and 3D distances, angles and X, Y and Z coordinate differences between selected points.

Command
DIST
Alias
DI
Tool group
Utilities
Level
Beginner

What does DIST do?

DIST measures the distance and angle between selected points. In model space, it can report a true 3D distance together with the differences in X, Y and Z coordinates, making it useful for both 2D drawings and 3D models.

The command also reports the angle in the XY plane and the angle from the XY plane. A Multiple points option is available when you need to measure a path through several points rather than a single straight distance.

How to use the command

  1. Type DIST or its shortcut DI, then press Enter.
  2. Specify the first point of the measurement.
  3. Specify the second point.
  4. GstarCAD displays the distance, angles and coordinate differences in the command line.
  5. Choose Multiple points when you need to measure a sequence of connected distances.
Command: DI ↵
Specify first point: pick first point
Specify second point or [Multiple points]: pick second point

Key DIST results and options

DIST provides more information than only the straight-line distance between two points.

Distance
Reports the straight-line distance between the selected points in the current drawing units.
Delta X / Y / Z
Shows the difference between the two points along each coordinate axis.
Angle in XY Plane
Reports the direction between the points measured in the current XY plane.
Angle from XY Plane
Reports the vertical angle between the measured direction and the XY plane.
Multiple points
Measures a sequence of points and displays the accumulated distance along the measured path.

Practical example: check a diagonal distance

Suppose the first point is at 0,0 and the second point is at 3000,4000. Run DIST and select the two points.

GstarCAD reports a distance of 5000 drawing units, with Delta X equal to 3000 and Delta Y equal to 4000. Because both points are at the same elevation, Delta Z is 0. The angle in the XY plane is approximately 53.13 degrees.

Tip

Use object snaps when measuring between exact endpoints, centres or intersections. For a wider range of measurement tools, including radius, area and volume, use MEASUREGEOM.

All commands Updated 12 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.