About Converting Drawings (AutoCAD Mechanical Toolset)

A conversion control file is divided into two sections, General and Entity, each with a header.

Both sections begin with the section name in square brackets, followed by the data for the section. Comment lines begin with a semicolon.

The following is an example of a CCF file:

[General]

Verbose=0 (0/1 switch off/on a protocol file)

RetainBackup=0 (0/1 creates no/a backup file with the extension .old)

WBlockSave=0 (0/1 determines whether the converted drawing is saved with wblock/qsave)

Layer0Convert=1 (0/1/2 determines that there is no conversion/objects in blocks are not touched/all objects on layer 0 are converted)

[Entity]

Layername:Linetype:Color:Lineweight => Layername:Linetype:Color:Lineweight

0:BYLAYER:BYLAYER:BYLAYER => *:*:*:*

CONTOUR:BYLAYER:5:BYLAYER => AM_6:BYLAYER:BYLAYER:BYLAYER

CONTOUR:BYLAYER:BYLAYER:BYLAYER => AM_0:BYLAYER:BYLAYER:BYLAYER

EDGES:BYLAYER:250:BYLAYER => AM_5:BYLAYER:BYLAYER:BYLAYER

EDGES:BYLAYER:BYLAYER:BYLAYER => AM_5:BYLAYER:BYLAYER:BYLAYER

EDGES:DASHDOT:*:BYLAYER => AM_3:BYLAYER:BYLAYER:BYLAYER

Converting from an ALZ file to a CCF file requires minimal editing to the CCF file. As shown in this example, you can either keep the text from the ALZ file exactly as is done with the EDGES:BYLAYER: lines, or you can change them into a wildcard character.

The analysis file is a guide for writing your CCF file. You can modify it. The analysis file sorts alphabetically.

The conversion file modifies a drawing so that layer name, linetypes, colors, and lineweights convert to a new drawing format.

The AMCONVDWG command can perform a conversion on the currently loaded drawing. Alternatively, if you start this command from the Script Generator dialog box, you can select the files to convert.

Conversion Requirements