Units must be declared
Autodesk's DXF header codes for $INSUNITS include 1 Inches, 2 Feet, 4 Millimeters, 5 Centimeters and 6 Meters.
Autodesk describes $INSUNITS as the default drawing units for AutoCAD DesignCenter blocks. AFS's CAD reader reports it as the drawing unit; it can be 0, Unitless, so confirm the unit against a known dimension.
NIST Handbook 44 defines 1 inch = 25.4 millimeters exactly.
A table of DXF units codes with code 0, unitless, outlined as a warning, and three bars on a log scale: a 2 inch leg read correctly, the same number read as millimetres (0.0787 inch), and a metric 50.8 read as inches, which crosses the 48 inch line.
Sources
- HEADER Section Group Codes (AutoCAD DXF Reference, 2020 help) - Autodesk
- AFS CAD reading: model space only, flashing, building and annotation layers, and dimensions and notes tied to the element they describe - Architectural Flashing Supply
- NIST Handbook 44 (2026), Appendix B: Units and Systems of Measurement - National Institute of Standards and Technology
