Interface > Working with Data Exchange Formats > DXF and DWG > Importing DXF and DWG Drawing Files > Importing Layers and Line Styles
  
Importing Layers and Line Styles
Importing Layers
DXF and DWG file formats support the import of layers. The entities imported from DXF or DWG are placed on a layer in the Drawing Mode. The layer ID of an imported entity in the Creo application is the same as its layer ID in the DXF or DWG file. Imported AutoCAD layers map by default to new Creo layers with the same name.
 
* You cannot assign the same AutoCAD layer to two or more Creo layers with different visibility statuses.
Importing Line Styles
User-defined AutoCAD line fonts map automatically to new Creo line fonts with the same name and pattern. Standard AutoCAD line styles map to the following line styles in the Creo application by default:
AutoCAD Line Style
Creo Line Style
CONTINUOUS
SOLIDFONT
DASHED
DASHFONT
CENTER
CTRLFONT
PHANTOM
PHANTOMFONT
DASHDOT
CTRLFONT
DOT
DOTFONT
BORDER
CTRLFONT
DIVIDE
PHANTOMFONT
HIDDEN
HIDDEN LINE
You can map layers, line styles, colors, and fonts that are imported from the DXF and DWG formats in the dxf_import.pro file. The dxf_import.pro file maintains the default import mappings of the DXF and DWG formats just as the dxf_export.pro file maintains the default export mappings. The mappings in both files are similar. For example, the syntax for layer mapping is as follows:
map_layer <AutoCAD name> <Creo Parametric name>
Use the following syntax in the dxf_import.pro file to map line styles:
map_line_style <AutoCAD name> <Creo Parametric name>