> Import and Export > File Types > DXF/DWG Files
Introduction
Administration
User Interface
SolidWorks Fundamentals
Moving from 2D to 3D
Assemblies
CircuitWorks
Configurations
SolidWorks Costing
Design Checker
Design Studies in SolidWorks
Drawings and Detailing
DFMXpress
DriveWorksXpress
FloXpress
Import and Export
Importing/Exporting SolidWorks Documents
Importing Documents
Importing Geometry
File Distribution Best Practices
Editing Imported Features
Import Diagnostics Overview
Exporting Documents and Setting Options
DXF/DWG Native Format
Print3D
Publishing to 3DVIA.com
File Types
3D XML Files
ACIS Files
Adobe Illustrator Files (*.ai)
Adobe Photoshop (*.psd) Files
Autodesk Inventor Files
CADKEY Files
CATIA Graphics Files
DXF 3D Files
DXF/DWG Files
eDrawings Files
Highly Compressed Graphics Files
HOOPS Files
IDF Files
.IFC Files
IGES Files
JPEG Files
Mechanical Desktop Files
Parasolid Files
PDF Files
Pro/ENGINEER Files
Rhino Files
Solid Edge Files
Step Files (*.step)
STL Files
TIFF Files
Unigraphics Files
VDAFS Files
Viewpoint Files
VRML Files
XPS Files
Import and Export File Version Information
2D to 3D Conversion
Scan to 3D
DXF/DWG Import Wizard
Large Scale Design
Model Display
Mold Design
Motion Studies
Parts and Features
Routing
Sheet Metal
Simulation
SimulationXpress
Sketching
Sustainability Products
SolidWorks Utilities
Tolerancing
Toolbox
Weldments
Workgroup PDM
Troubleshooting
Glossary
Hide Table of Contents Show Table of Contents

DXF/DWG Files (*.dxf, *.dwg Files)

You can import and export DXF/DWG files. The DXF/DWG Import Wizard appears during most import operations. You can also insert DXF/DWG files into part documents.

You can copy and paste entities from an AutoCAD® DXF or DWG file into SolidWorks part, assembly, and drawing documents.

Bitmaps stored in DXF/DWG files in AutoCAD's native bitmap format are not supported.

The DXF/DWG translator supports the import and export of hole tables.

Import

The DXF/DWG translator imports DXF or DWG files, including Mechanical Desktop files, as SolidWorks part or drawing documents, according to the option settings in the DXF/DWG Import Wizard . This translator also imports DXF 3D files without the wizard. In a drawing document, you can import the geometry to the drawing sheet or the drawing sheet format. Entities in either paper space or model space are imported.

Imported entities can become SolidWorks blocks.

When you import drawings, the most popular AutoCAD SHX or True Type fonts are supported, even though you may not have the fonts installed. See AutoCAD Font Support.

If you import a DXF or DWG file that contains a large number of blocks (more than 200), you are prompted to enable the Explode Blocks option. Explode the blocks to improve import performance.

The DXF/DWG translator imports:

  • AutoCAD Mechanical annotations, known as proxy entities, (such as surface finish symbols or GTOL frames) and automatically drawn objects (such as cams and springs) when you import DXF or DWG files as SolidWorks drawing documents. The translator converts these imported items to equivalent SolidWorks objects, or creates them as blocks of primitive geometry, as appropriate.

  • Associative and non-associative crosshatches as area hatches.

  • XREFs in AutoCAD DWG files.

  • DWG files with multiple sheets.

  • A file to a new part as a 2D sketch or as curves in 3D.

  • 3D solids.

When you import DWG files, you can see a thumbnail image of the file in the Preview panel of the Open dialog box. Previews appear for DWG files created by both SolidWorks and AutoCAD. In AutoCAD, the bitmap preview option must be enabled when the file is last saved. The Open dialog box remembers the Preview check box state from the last time you opened a DWG file.

The SolidWorks software fully supports the import of AutoCAD block definitions and instances with properties and attributes.

When you import AutoCAD DWG files saved in paper space (layout mode) as SolidWorks drawing documents, the DXF/DWG Import Wizard converts each AutoCAD viewport into a separate SolidWorks drawing view. Drawing view data is selectable if you activate the drawing view.

Data that does not belong to a viewport is imported to the drawing sheet. Drawing sheet data is selectable if you activate the drawing sheet. If Dynamic drawing view activation is enabled, you must lock sheet focus to select drawing sheet data.

The DXF/DWG translator alerts you to problems encountered when importing a DXF or DWG file.

You can import entire DWG file sheets in native format in SolidWorks drawing sheets, which allows the direct display of the original DWG file entities inside SolidWorks drawing documents. You can view, pan, zoom, and print these sheets. Select Embed as a sheet in native DXF/DWG format in the DXF/DWG Import Wizard .

You can import DXF and DWG files from AutoCAD 2004 and later that are password protected. The SolidWorks translator detects the encrypted password and prompts you for the password. If you export the file back to DXF/DWG format, it is saved without encryption.

Export

The DXF/DWG translator exports only drawing documents as .dxf or .dwg files. When you export a drawing as a .dxf or .dwg file, the drawing's sheet scale is used for the new file. All entities (such as edges, annotations, and assembly components) on layers are exported to the assigned layer.

SolidWorks crosshatch patterns are translated into AutoCAD hatch patterns when you export SolidWorks documents as DXF or DWG files. The SolidWorks software translates the SolidWorks crosshatch patterns as non-associative hatch definitions, and preserves the layer and color of the original crosshatch. The SolidWorks application also supports crosshatch export when you map layers with a mapping file.

You have the option to map only those items whose layers are not otherwise defined when you export SolidWorks drawing documents as DXF or DWG files. All entity types that you can assign to AutoCAD layers through the mapping file support layering in the SolidWorks drawing format.

The DXF/DWG translator supports line thickness, hidden sketches, and auto-centerlines. You can export custom line styles. However, on import, custom line styles in AutoCAD files are not recognized.

You can export colors to DXF/DWG files by layer and by block. Colors are mapped with True Colors for both import and export.

Sheet metal flat patterns. You can create .dxf files of sheet metal flat patterns directly from sheet metal part documents without flattening the model. The words Flat pattern are prepended to the file name.

  • Click File, Save As and select DXF (*.dxf) for File of type.

  • Right-click Flat-Pattern in the FeatureManager design tree and select Export Flat Pattern to DXF/DWG.

You can also export sheet metal entities.

Version Information



Related SolidWorks Forum Content

Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   DXF/DWG Files (*.dxf, *.dwg Files)
*Comment:  
x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: SOLIDWORKS 2012 SP05

The search functionality within the web help is in a beta test phase and you may experience periodic delays or interruptions in its performance. These are the normal and ordinary features of a beta test and shall not under any circumstances give rise to any liability on the part of Dassault Systèmes SolidWorks Corporation or its licensors. The topics within the Web-based help are not beta topics; they document SOLIDWORKS 2012 SP05.

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.