GstarCAD command

DWGUNITS command

Change the actual drawing units and optionally rescale existing Model Space, Paper Space and inserted geometry to match the new unit system.

Command
DWGUNITS
Alias
—
Tool group
Utilities
Level
Beginner

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

  1. Type DWGUNITS, then press Enter.
  2. Select the required drawing unit, such as Millimeters.
  3. Choose the unit display format and linear precision.
  4. Choose whether objects inserted from other drawings should be scaled automatically.
  5. Choose whether INSUNITS should match the new drawing units.
  6. 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.

Drawing units
Selects Inches, Feet, Millimeters, Centimeters, Decimeters or Meters.
Display format
Sets Scientific, Decimal, Engineering, Architectural or Fractional display.
Linear precision
Controls the displayed precision of linear values.
Scale inserted objects
Controls automatic unit-based scaling when geometry from another drawing is inserted.
Match INSUNITS
Updates INSUNITS so the insertion unit matches the selected drawing unit.
Scale current objects
Rescales existing drawing geometry to preserve its real-world dimensions after a unit conversion.
Include Paper Space
Determines whether Paper Space geometry is also rescaled during the conversion.

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.

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