Setting Line Weights for Imported DWG or DXF Files

When you import a DWG or DXF file, each layer in the file is assigned a line weight based on the pen number-line weight settings. Revit can import pen numbers from a DWG or DXF file and map them to a Revit line weight. You can then save these mappings in a text file, and they become the set mappings for the project.

Revit includes the following files with pen and line weight mappings:

These files reside in the following location:

%ProgramFiles%\Autodesk\<product name and release>\Data

To set line weights

  1. Click Insert tabImport panel.

    The Import Line Weights dialog displays the mappings in the importlineweights-dwg-default.txt file.

  2. If this is not the file that you want to edit, click Load, navigate to the correct mappings file, and open it.
  3. In the dialog, match the appropriate pen to the appropriate line weight (for example: Pen Number 1 to Line Weight Number 1, Pen Number 2 to Line Weight Number 2, and so on). Set as many pen-line weight mappings as desired.
  4. Click OK, or to save the mappings in a new file, click Save As.