Mark Middlebrook's free AutoLISP programs
by (who else?) Mark Middlebrook
Freeware AutoLISP programs
You can download the current versions of my freeware utility programs for AutoCAD: Roughen.lsp, Flatten.lsp, Swapclrs.lsp, and Sdskproj.lsp.
All programs work with AutoCAD Release 14 through 2002, unless otherwise noted. None works with AutoCAD LT. Each file is under 12 KB. Download the desired file and view the LSP file in a text editor for instructions.
|
|
- Roughen.lsp version 16.01 converts a polyline or line into an irregularly zigzaggy polyline. Last updated 20-Jun-2001.
- Flatten.lsp version 2k.01f sets the Z coordinates of most objects in a drawing to zero. Last updated 14-Jul-2000.
- Swapclrs.lsp version 1.0 swaps colors of layers and objects based on the values in a color swap configuration file. Swapclrs.zip contains Swapclrs.lsp and a sample Swapclrs.ini file. You'll need to edit Swapclrs.ini with a text editor in order to create your desired color mapping. Last updated 04-Aug-2000.
- Sdskproj.lsp version 1.0 changes the Softdesk "project" (i.e., group of Softdesk configuration settings) with which a drawing is associated. Sdskproj.zip contains Sdskproj.lsp (the program) and Sdskproj.dcl (an optional dialog box). This utility works with AutoCAD R14 and Softdesk 8. Last updated 16-Dec-2000.
Note: If your browser displays the AutoLISP file instead of offering to download it, choose the File menu and then Save As. Type a name (e.g., "flatten.lsp" or "roughen.lsp") for the file that will get created on your hard disk. If for some reason that doesn't work and instead your computer displays the AutoLISP program code in a browser window, select all of the text in the browser window, open Windows Notepad, copy the text into Notepad, and save it to an appropriately named file (e.g., "flatten.lsp" or "roughen.lsp") in Notepad. (You may have to include the quotation marks in order to prevent Windows from adding a .txt extension after .lsp.).
These programs are free software; you can redistribute them and/or modify them under the terms of the GNU General Public License as published by the Free Software Foundation.
Return to www.markcad.com.
Last updated 20-Jun-2001 by
mark@markcad.com