What does DWGUNITS do?
DWGUNITS changes the unit system used by the current drawing. It supports inches, feet, millimetres, centimetres, decimetres and metres and can optionally rescale existing geometry to preserve its real-world size.
The command can also update INSUNITS, control automatic scaling of inserted drawings and include Paper Space objects when the drawing units are converted.
How to use the command
- Type
DWGUNITS, then press Enter. - Select the required drawing unit, such as Millimeters.
- Choose the unit display format and linear precision.
- Choose whether objects inserted from other drawings should be scaled automatically.
- Choose whether
INSUNITSshould match the new drawing units. - Choose whether existing Model Space and Paper Space objects should be rescaled.
Command: DWGUNITS ↵
Drawing units [1.Inches/2.Feet/3.Millimeters/4.Centimeters/5.Decimeters/6.Meters]: 3 ↵
Drawing unit display formats [1.Scientific/2.Decimal/3.Engineering/4.Architectural/5.Fractional]: 2 ↵
Enter linear display precision: 3 ↵
Scale objects from other drawings upon insert? [Yes/No]: Y ↵
Match INSUNITS to drawing units? [Yes/No]: Y ↵
Scale objects in current drawing to reflect change in units? [Yes/No]: Y ↵
Include objects in Paper Space? [Yes/No]: Y ↵
Key DWGUNITS options
The command guides you through several settings that control both unit definition and geometry scaling.
Practical example: convert an inch drawing to millimetres
Suppose a mechanical drawing was created in inches but must now use millimetres. Run DWGUNITS and choose Millimeters.
Choose Yes when asked to scale the current drawing and match INSUNITS. GstarCAD converts the geometry to the new unit system while preserving its intended physical size and prepares future inserted geometry for unit-aware scaling.
Important
DWGUNITS can rescale existing geometry. Check the current drawing units before accepting the scaling prompts, especially in drawings containing layouts, dimensions or externally referenced project data.