CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
Cesky English Deutsch
Login/Register:
 Visitors: 3994 

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):

$INSUNITS
70
1
9 

Millimeters (metric units):

$INSUNITS
70
4
9
ACADInv.Fusion360
100% *  CAD 
12.11.2019    402×  
applies to: AutoCAD · Inv.Fusion360 ·

See also:
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.
Tip 11972:How to convert a Tinkercad 3D model to a DWG file?
Tip 11720:How to export unfolded sheetmetal parts in Fusion 360?


Back   All CAD Tips All CAD tips&tricks



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   



Featuring:
Link your AutoCAD texts with Excel tables/sheets. Export. Change. Import.
Try DwgText 2020 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.
TOPlist