Use the Script feature to generate script files. Several options are available from the Generate Script dialog box.
Use AMANALYSEDWG to analyze a current drawing, which can then be used as the basis for generating a conversion file. Use AMCONVDWG to convert a current drawing. Use AMSCRIPT to convert a selected set of drawings.
A simple example is used here to demonstrate how to generate a script file for converting DXF drawing files to DWG drawing files.
- At the Command prompt, enter AMSCRIPT.
- In the Generate Script dialog box, under Selected Function list, select DXF2DWG Convert DXF to DWG.
- Select the files to which the Lisp routine is to be applied. The default is the current drawing.
- Choose OK.
- A script file with the file name script.scr is created. Specify a directory for this script file.
- When prompted to start the script, choose Yes.