Importing DXF and DWG Format Files

You can import AutoCAD versions 2.5 (AC1002) through 2012 (AC1024) on Linux and versions 2.5 (AC1002) through 2017 (AC1027) on Windows. The entities are imported as 2D, not 3D. The types of entities imported are

To import a .dxf or .dwg model file (which may use an associated .tech file):

  1. Click Modeler > Import.
  2. The Import File dialog box appears.

  3. Select AutoCAD Files (*.dxf;*.dwg) from the Files of type drop-down menu.
  4. Use the file browser to find the file you want to import.
  5. Select the .dxf/.dwg model file you want to import.
  6. Click Open.
  7. Initially, the DWG/DXF Import dialog opens with the Layer selection tab displayed:

    DXF/DWG Import window accessed from the Modeler > Import menu

    The Input name field shows the name of the layer in the DXF/DWG file (not editable).

  8. Use the Include check boxes to specify which layers to import from the selected file.
  9. You can use the browse button [...] to locate a Layer mapping file. The layer mapping file is a plain text file that includes units, layer names, color, elevation, and thickness information.
  10. units um

    //Layer_Name Color Elevation Thickness

    BOTTOMLAYER purple 0 200

    MIDLAYER green 500 200

    TOPLAYER blue 1000 200

  11. Click the Options tab.

    DXF\DWG Import window's Options tab

  12. Use the Override drop-down to select the layout units for the imported file (default is mm).
  13. Use the Objects check boxes to fine-tune the import:
    • Auto detect closure causes polylines to be checked to see whether or not they are closed. If a polyline is closed, the modeler creates a polygon in the design.

    • Self stitch causes multiple straight line segments to be joined to form polylines. If the resulting polyline is closed, a polygon is created in the modeler.

      • Default Tolerance/Tolerance specifies whether you can specify a self stitch Tolerance value. If particular features in a model are outside of a normal tolerance allowance, you can set a Tolerance for importing that specific model.

    • Defeature Tolerance removes certain small features in the imported geometry to reduce complexity. The features that are removed include multiple points placed within the specified distance, thin or narrow regions (“thins” and “spikes”), and extraneous points along straight line segments.

    • Round coordinates to Decimal place rounds all imported data to the specified number of decimal points.

    • Convert closed wide lines to polygons imports wide polylines as polygons. You have more flexibility to change the shape of such an object when it is imported as a polygon.

    • Import as 2D sheet bodies causes imported objects to be organized in terms of 2D sheets.

  14. For Import method, select Script or Parasolid.
  15. When you have completed selections on all tabs, click OK on any tab.
  16. The file is imported into the active Layout window.