Mapping Entities When Saving Drawings as .DXF or .DWG Files
You can map SOLIDWORKS drawing entities and colors when you save drawings as .dxf or .dwg files to configure these entities and colors in the target files.
You can map SOLIDWORKS entities to layers, colors, or line styles you specify in the SOLIDWORKS to DXF/DWG Mapping dialog box. You can also map exported colors.
Saving and Loading Map Entities
When exporting drawings as .dxf or .dwg files, you can save .dxf or .dwg entity property mappings in a map file and load them the next time you save a SOLIDWORKS drawing to either file type.
To save or load entity property mappings when exporting SOLIDWORKS drawings to .dwg or .dxf files:
- Follow the main procedure for mapping entities through step 5.
- Save or load entity and color mappings:
- Browse to a folder and enter a file name.
- Click OK to close the SOLIDWORKS to DXF/DWG Mapping dialog box and export the file.
Defining Layers
When exporting drawings as .dxf or .dwg files, you can define layers in the SOLIDWORKS to DXF/DWG Mapping dialog box.
To add or edit a layer:
- Follow the main procedure for mapping entities through step 5.
-
Under Define Layers, select the row for the layer and do the following:
- Click in the Layer column and type a number or name for the new layer.
- Click in the Color column for the layer and select an item from the grid.
- Click in the Line Style column for the layer, and select a line style.
- Repeat Step 2, as required, to specify other layers.
- Specify map entities or colors as required.
- To save DXF/DWG export map file settings, click Save Map File.
- Click OK.
Mapping Entities
When exporting drawings as .dxf or .dwg files, you can map entities in the SOLIDWORKS to DXF/DWG Mapping dialog box.
To map entities:
- Follow the main procedure for mapping entities through step 5.
-
Under Map Entities, select the row for the entity and do the following:
- Click in the Layer column and select a layer.
You must define the layers before you can map the entities.
- Click in the Color column for the layer and select an item from the grid.
- Click in the Line Style column for the layer, and select a line style.
- Click in the Entity column, and select an entity to map.
- Click in the Layer column and select a layer.
- Repeat Step 2, as required, to map other entities.
- Specify map colors as required.
- To save DXF/DWG export map file settings, click Save Map File.
- To apply the mapping file settings only to those entities whose layers are not defined as SOLIDWORKS drawing file layers, click Only map entities that are not on SOLIDWORKS layers.
- Click OK.
Mapping Colors
When exporting drawings as .dxf or .dwg files, you can define the color mapping from SOLIDWORKS to the target file in the SOLIDWORKS to DXF/DWG Mapping dialog box.
To map colors when saving drawings as .dxf or .dwg files:
- Follow the main procedure for mapping entities through step 5.
- Under Map Colors, specify a color mapping:
- Click the next empty row in the SOLIDWORKS column, and select a color from the grid for the source file.
- Click in the DXF/DWG column and select mapped color for the target file.
- Repeat Step 2, as required, to map other colors.
- To save DXF/DWG export map file settings, click Save Map File.
- Click OK.