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
The Import Line Weights dialog displays the mappings in the importlineweights-dwg-default.txt file.