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

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    6713×  
Prices - CAD eShop:
applies to: AutoCAD · Inv.Fusion360 ·

See also:
Tip 13173:How to convert projection of a 3D model to a 2D DXF drawing?
Tip 12588:Which CAD formats can be be translated in Fusion 360 even without the cloud, offline?
Tip 12416:How to export DXF outline of unfolded sheetmetal in Fusion 360, with no bending lines.
Tip 12347:Invalid or incomplete DXF input -- drawing discarded.
Tip 12069:Unicode and DXF files.

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   

Save your floating licenses (NLS) consumed by inactive users - free unused licenses with
LogOff 2006 More info

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