Skip to main content
April 2, 2026Gavin Grant/5 min read

Controlling Line Weights of Imported CAD Files in Revit: A Step-by-Step Guide

Master CAD import line weight control in Revit

Before You Begin

Ensure you have access to both Revit and your CAD files. This workflow requires understanding of both software environments for optimal results.

Accessing Import Line Weights Dialog

1

Navigate to Insert Tab

Locate the Insert tab in the Revit ribbon interface

2

Find Dialog Launcher

Look for the small diagonal arrow at the bottom right corner of the Import panel

3

Open Import Line Weights Dialog

Click the dialog launcher icon to access the line weight mapping controls

CAD Color Mapping Range

Available Colors
255
Mapping File Coverage
255
Assignable Line Weights
16

Understanding Mapping Files

File Format

Mapping files are simple text files (.txt) that contain color-to-line weight assignments. They can be customized for specific office standards.

Default Options

Revit includes several pre-configured mapping files. These provide standard line weight assignments for common CAD workflows.

Custom Creation

Create your own mapping files based on your office's CAD standards. This ensures consistency across all imported drawings.

Color vs Line Weight Property Import

FeatureColor-BasedLine Weight Property
Control MethodMapping file assignmentsOriginal CAD settings
Revit OverrideUses mapping tableIgnores mapping table
CustomizationFull control in RevitMust edit in CAD software
PredictabilityConsistent with mappingDepends on source file
Recommended: For maximum control, ensure CAD files use color-based line weights rather than direct line weight properties.

CAD File Preparation Best Practices

0/5

Modifying Line Weight Values

1

Locate Target Colors

Find the specific color numbers you want to modify in the mapping table

2

Assign New Values

Change the line weight values for colors 3, 4, and 5 to values 2, 3, and 5 respectively

3

Save Changes

Click OK to apply changes, or Save As if the file is read-only

Read-Only File Handling

If you encounter a read-only error when saving line weight changes, use Save As to create a new mapping file in your project location. This ensures you can modify settings as needed.

Creating Drafting View and Importing CAD

1

Create New Drafting View

Go to View tab, select Create, and make a drafting view named 'Gypsum Board Ceiling Detail' at 3 inches equals 1 foot scale

2

Import CAD File

Navigate to Insert tab, select Import CAD, and browse to your downloaded detail-gip-board-ceiling.dwg file

3

Zoom and Inspect

Use 'zx' command for zoom extents, then examine the varying line weights based on your mapping settings

Using the Query Tool

Layer Identification

Select imported elements and use the Query tool to identify which CAD layer they belong to. This helps understand the color-to-line weight relationship.

Selective Visibility

Use 'Hide in View' option to hide specific layers like 'Depth Points' when they're not needed for your current view requirements.

This lesson is a preview from our BIM Certificate Program Online (includes software). Enroll in this course for detailed lessons, live instructor support, and project-based training.

Mastering line weight control for imported CAD files is essential for maintaining professional drawing standards in Revit. The process begins in the Insert tab of the ribbon, where you'll find a crucial but often overlooked feature. Look for the dialog launcher icon—a small diagonal arrow positioned at the bottom right corner of the Import panel. This unassuming button unlocks sophisticated control over your imported line weights.

Clicking this icon opens the Import Line Weights dialog box, which serves as your command center for line weight management. This powerful dialog references a mapping file—a simple .txt file stored on your local drive that becomes the backbone of your import strategy. The mapping file systematically assigns line weight values to each of the 255 possible import colors, creating a comprehensive translation system between your CAD environment and Revit. As you scroll through this extensive list, you'll see every color from 1 to 255, each paired with its corresponding line weight assignment. This granular control ensures that your imported CAD elements maintain their intended visual hierarchy and technical clarity.

While Revit ships with several pre-configured mapping files that cover common scenarios, the real power lies in customization. Creating mapping files tailored to your office's specific CAD standards transforms what could be a chaotic import process into a seamless workflow. This approach is particularly valuable given that most legacy CAD drawings rely on color-based plotting systems—a methodology that remains prevalent in 2026 despite advances in CAD technology. However, there's an important exception to remember: when your imported entities already use explicit line weight properties rather than color-based assignments, Revit will respect those original settings and bypass the mapping dialog entirely.

Before diving into the import process, take time to optimize your source files. If you have access to AutoCAD or another CAD program, invest the effort to clean up files in their native environment first. This preprocessing step pays dividends in the quality and predictability of your imports. Establish consistent color schemes and line weight protocols across all details, purge unnecessary layers and obsolete settings, and eliminate any extraneous geometry that could clutter your Revit environment. This upfront investment in file hygiene dramatically improves your import results and reduces downstream troubleshooting.


Now let's put this knowledge into practice with a hands-on example. We'll modify several line weight values in the mapping table to demonstrate how these changes immediately affect imported content. Navigate to color number 3 and change its value to 2, adjust color 4 to a value of 3, and set the line weight for color number 5 to 5. After clicking OK, you may encounter a read-only file warning—a common occurrence when working with system-default mapping files. Simply click Save As, direct the file to your project location for easy access and version control, and click Save to create your custom mapping file.

With your custom line weight settings configured, it's time to test the import process. Ensure you've downloaded the sample file detail-gip-board-hanger.dwg and placed it in the same directory as your Revit project file—this organization prevents path-related import issues. Navigate to the View tab in the ribbon and create a new drafting view under the Create panel. Name it "Gypsum Board Ceiling Detail" and set the scale to 3 inches equals 1 foot, which provides optimal detail visibility for this type of construction drawing.

The import process itself is straightforward but worth executing methodically. Return to the Insert tab, select Import CAD, and browse to your downloaded files directory. Select the detail-gip-board-ceiling file and click Open. Depending on the file complexity and your system specifications, loading may take several moments—patience here ensures a complete and accurate import.


Once the import completes, type "zx" to execute a zoom extents command, revealing the full gypsum board ceiling detail in your drafting view. This is where your line weight customization becomes immediately apparent. Zoom in to examine the varying line weights that now reflect the settings you established in the mapping dialog. The visual hierarchy should clearly distinguish between different elements—structural components, finish materials, and annotation elements each maintaining their appropriate graphic weight.

Understanding the relationship between imported elements and their source properties enhances your ability to troubleshoot and refine imports. Select the imported file to activate Revit's Query tool in the ribbon—a diagnostic feature that reveals the underlying structure of imported elements. When you select any line within the imported detail, the Query tool displays its assigned layer information. The color assigned to that specific layer directly determines the line weight you see, creating a clear chain of causation from CAD file to final Revit display. For instance, selecting the text elements at the bottom of the detail reveals they're assigned to the "Depth Points" layer. If these annotations prove unnecessary for your current purpose, you can choose "Hide in View" to selectively suppress the entire Depth Points layer while preserving other imported content.

This systematic approach to line weight control transforms CAD imports from a potentially frustrating guessing game into a predictable, professional workflow. In our next exploration, we'll examine the process of manually assigning callouts to drafting views, building on these foundational import skills to create comprehensive documentation packages.


Key Takeaways

1Access Import Line Weights dialog through the dialog launcher icon in the Insert tab's Import panel to control how CAD line weights appear in Revit
2Mapping files are text files that assign line weights to each of the 255 possible import colors, with several default options included in Revit
3Color-based CAD files respect Revit's mapping table settings, while files using direct line weight properties ignore these mappings entirely
4Clean up CAD files in their original environment before importing by ensuring consistent colors, deleting unwanted geometry, and purging unused elements
5Custom mapping files can be created to match specific office CAD standards, ensuring consistent line weight appearance across all imported drawings
6Read-only mapping files require using Save As to create editable copies in your project location for customization
7The Query tool helps identify which CAD layers imported elements belong to, enabling selective visibility control and better understanding of line weight assignments
8Creating appropriately scaled drafting views before importing ensures CAD details display correctly with proper line weight relationships

RELATED ARTICLES