GstarCAD 2027 · Command Reference
Commands > D Command > DWGUNITS
Function Description: In actual use, different projects or scenarios may require different units. For example, architectural design might use meters or millimeters as the unit, while mechanical design might use inches or millimeters.
In GstarCAD 2025, the new DWGUNITS command has been added to support the modification of drawing units, allowing users to ensure that the dimensions and annotations of their drawings comply with standardized requirements. This helps to prevent errors caused by different size units and increases the readability of the drawings.
Command Access:
Icon:![]()
Menu Item: Express > Modify > DWG Units
Ribbon: Express > Modify > DWG Units
Toolbar: ET:Edit > DWG Units
Command Line: DWGUNITS
Command Alias:/
Command Prompts:
The following information is displayed according to the command execution process:
Note: Different steps may be prompted when selecting different options, and the command line prompts should be followed.
Select the graphic length unit. The default graphic unit for imperial drawings is "(3) Millimeters," and for metric drawings, it is "(1) Inches," including the following six common units:

Select the display format for graphic units:

Select the linear display precision:

Control the scaling unit when inserting another drawing into the current drawing. When a user inserts a graphic object into the current drawing, whether the object will be scaled according to the size of other existing graphic objects.
If set to "Yes," the inserted object may be scaled according to the proportion of other objects to better match the current drawing environment.
The size of the object matches the scale of the drawing. If set to "Yes," the inserted object will be measured and displayed in the same units as the current drawing.
Control to keep the dimensions and scale consistent under the new units.
Controls whether to change the units of paper space.
When a user converts a drawing with units in millimeters (metric) to a drawing with units in inches (imperial), after executing the DWGUNITS command, the unit of the object is modified.
Article ID: 4392
Created: September 26, 2026
Last Updated: September 25, 2026
Author: kbadmin
Online URL: https://kb.gstarcad.com.my/article/dwgunits-gstarcad-2027-4392.html