AutoLISP Routines for AutoCAD

Here are a few of my favorite lisp routines and some AutoCAD® Classic routines.

To download a file, right click on the filename and then pick "Save Link As"
Filename Size Release Description
AUTON.LSP 736 thru 13 A simple Auto-number routine. Make sure text height is set to zero in your style.
ARCTEXT.LSP 3.45 k thru 13 Places text around a curve. Make sure text height is set to zero in your style.
CASECHG.LSP 1.58 k thru 13 Upper to lower and lower to upper case change
CHTEXT.LSP 23.0 k thru 13 AutoCAD classic, change multiple lines of text.
DLINE.LSP 67.5 k thru 13 AutoCAD classic, double line routine. Much better for drawing walls than the R13 MLINE command.
FL.LSP 2.35 k thru 13 Isolate a layer by picking an object on that layer. It will freeze all other layers.
HATCH.LSP 4.94 k thru 13 Creates hatch patterns! Draw a series of lines at 45 degree increments inside a 1x1 polyline.
LYRSET.LSP 178 thru 13 Set a layer current by picking an object on that layer.
SETTEXT.LSP 2.95 k thru 13 Set text style and height by picking a piece of text.
BALLOON.LSP 6.57 k 11 - 13 This program creates leaders and encloses the leader text in a 'Balloon'. Editable parameters let you put the balloon on a specific layer, adjust the gap between text and balloon and the balloon's lineweight, and specify whether the leader is a block or individual entities.
DIMPL.ZIP 2.80 k 12 & 13(?) A simple routine which makes it easy to dimension the bearing and distance of a property line by inserting a block with two attributes, then filling the attributes in automatically.
FIXBLOCK.LSP 1.44 k 13 Redefines all selected blocks so that all entities are on layer '0' (zero), with color 'BYBLOCK'.
KEYPAD.ZIP 8.55 k 13 Defines a keypad toolbar (including all the bitmaps). No documentation.
MAKEBLOK.LSP 2.49 k 11 - 13 This program takes selected objects, defines an anonymous block, then inserts the anonymous block at the original location.
PURGEB.LSP 923 11 - 13 PURGE all unreferenced blocks (including nested blocks) with one command. The program can easily be modified to PURGE other items.
PWIDTH.LSP 330 11 - 13 Defines (PWIDTH <new_width>), which changes the width of all polylines to 'new_width'.
Zip file for my DOT Class 2667 14 -2002 Just for my DOT Class....enjoy!

TOP






AutoLISP Source Codes


AutoCAD is a registered trademark of Autodesk, Inc.      ©2008 Erin Eberhard, Inc.
Offering AutoCAD® Training, Support, & Services;