CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
CZ | EN | DE
Login or
  Visitors: 6082

CAD tip CAD tip # 12421:

Question CAD 
 %  platform  category 
Q - question

Wrong units in an imported DXF file.

A - answer When handing over CAD data between special CAD/CAM application you may face the problem of improper interpretation of measuring units - the software application e.g. expects mm but the DXF contents is read in inches or vice versa.

If you cannot influence units setting of the transferred (exported, imported) DXF file in the source or target CAD application, you may help yourself with a simple manual change in the DXF text file (does not apply to binary DXF files).

Open your DXF file in a text editor (e.g. Notepad, not Word!) and search for the line referencing the INSUNITS variable - i.e. the string $INSUNITS. This setting defines the units type. The most typical values - the value of 1 represents inches (in), the value of 4 represents millimeters (mm). By overwriting this value and by saving the edited version of your DXF file you can change units used for interpreting the contents of the imported DXF file.

Inches (imperial units):


Millimeters (metric units):

100% *  CAD 
12.11.2019    28645×  
Prices - CAD eShop:
applies to: AutoCAD · Inv.Fusion360 ·

See also:
Tip 14075:Overview of CAD formats supported in Inventor 2025 (import/export/AnyCAD).
Tip 13938:ModDXF - utility for bulk modification/display of internal DXF properties in DWG entities.
Tip 13800:Visually compare 3D geometry in CAD and BIM files.
Tip 13541:Using Twinmotion from Revit to visualize other types of 3D scenes.
Tip 13274:How to switch the DWG TrueView viewer to the classic user interface, without ribbon?

Back   All CAD Tips

Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   

Increase your productivity with our set of add-on functions for AutoCAD Civil 3D
CADstudio Civil Tools More info

Please use these tips at your own risk.
Arkance Systems is not responsible for possible problems that may occur as a result of using any of these tips.