Command |
Path |
Class and Layer Mapping |
Tools |
The Class and Layer Mapping command “maps” any set of design layers and/or classes in a drawing into a new design layer and/or class. The file structure can be simplified, condensed, and/or renamed. Use this feature, for example, when a consultant is using DWG or DXF files. Complex, multi-classed files imported from DWG can be condensed or renamed, and empty classes deleted in a single operation. Mapping can be saved so the next time a file is received from that consultant, the file can be re-mapped in a single step. This same procedure can be revised for the process of providing files to consultants using a different file structure or drawing standard. See Concept: Layers overview and Concept: Classes overview.
You can use a layer or class mapping file to map DXF/DWG or DWF layers during import or export. See Mapping layer and class names for details.
To map classes and design layers:
1. Select the command.
The Class Mapping dialog box opens.
2.Modify the existing classes, and then click Go To Layers to open the Layer Mapping dialog box. The Layer Mapping dialog box is identical in layout to the Class Mapping dialog box.
Click to show/hide the parameters.
When selecting existing and proposed classes and layers, press and hold the Shift key to select multiple, contiguous items or press and hold the Ctrl key (Windows) or Command key (Mac) to select non-contiguous items.
The drawing is updated, using the new layer and class mapping. Layers and classes not moved to the Proposed or Merged list are deleted from the file, along with any objects in those layers or classes.
You can create text (.txt) files for mapping classes and design layers using any text editor. Classes and layers are listed in separate files. The format of the files is the same, except that the first and last lines identify whether classes or layers are being mapped.
● The first line must be This is the class mapping file or This is the layer mapping file (with no punctuation).
● Below that, create a separate line for each mapping. Each line contains three items, separated by tabs. The first item indicates how to change the class or layer name (Renamed, Same, or Merged), followed by the existing and proposed names. Classes or layers that are not listed are deleted.
● The last line must be End of class mapping or End of layer mapping (with no punctuation).