About Supplied LISP Files (AutoCAD Mechanical)

The LISP files supplied with AutoCAD Mechanical are ASCII files which you can edit with any text editor.

They are in the same directory as the script files, for example, \AutoCAD Mechanical\GEN\SCR. To enable AutoCAD Mechanical to use your custom LISP routines, copy them into that directory.

\GEN\SRC\DUMMY.LSP is an example LISP file for testing. With this file, you can run and test the functionality of the script generator. The DUMMY.LSP file does not modify any drawing data. You can use the file as a template for your own routines.

The main LISP files are as follows:

ANALYZE.LSP

Analyzes a drawing.

CONVERT.LSP

Modifies a drawing so that the layers, linetypes, lineweights, and colors match the AutoCAD Mechanical defaults.

DXF2DWG.LSP

Converts DXF files to DWG files.

DXFOUT.LSP

Converts DWG files to DXF files.

MAKESLD.LSP

Creates slides.

SIZEMINI.LSP

Minimizes the size of a drawing. The program deletes all non-inserted blocks and unused layers. Blocks on switched-off layers remain unchanged.

Note: The program deletes non-inserted blocks irretrievably. Do not use this command if you intend to work with non-inserted blocks.

CONFIG.LSP

Changes the configuration settings of the user name.

BLOCKEXG.LSP

Changes blocks within a drawing.

TEXTEXG.LSP

Changes text within a drawing.

TITLEEXG.LSP

Changes title blocks within a drawing.

ZOOMEXT.LSP

Zooms the drawings to extent.

CVT12.LSP

Converts A12 drawings.

TRANSL.LSP

Translates text objects into another language.