jpsheader.jpg (29354 bytes)

JefferyPSanders Home

 

 

AutoLisp


NOTES

1.  New!     ShrinkWrap - Cheap attempt at shrinkwrapping using the boundary command.

2.  New!     Surveyor - Insert point information from Excel, CSV, or TXT file.

3.  New!     BlockMaster - Make your attributed blocks a little smarter during insertion.

4.  New!     Creator - Create autolisp programs (Updated MakeLSP)

5.  New!     ETable - Extract data from entities, label the entities, and send the data to an AutoCAD table.

6.  New!     Three new games!  Bridges, Memory and Slider.

7. 
New!     GetCells has been updated.

FYI:  Please use the links on the web site to email me.  I receive around 200 emails per week and I filter the spam using spamguard.  Unless the subject of your email contains the word autolisp or something similar, it may get deleted as spam.   Thanks for your cooperation.


The Ultimate Autolisp Tutorial EBook  PDF  $19.95


The AutoLisp Tutorial - DCL (Dialog Control Language) EBook PDF  $19.95

Programming and Support

AutoLisp - Help

AutoLisp - Free Programming

AutoLisp - Custom Programming

AutoLisp Tutorials  -  Beginner, Intermediate, Advanced, Expert in progress

AutoLisp DCL Tutorials   

AutoLisp Customer Examples

AutoCAD - I found an Error

AutoLisp - My program will not load    or   I do not know where to put my files! 

Links Can't find what you are looking for?  Maybe one of these sites can help.

ChasThornhill - The following images consist solely of text objects created with CAD and copied over and over and  over again.  Truly a work of art.  You should see the rest of his gallery under Lexicon Art.

EinsteinInFormulaSM.jpg (17627 bytes)EinsteinEyeDetail1SM.png (8497 bytes) EinsteinEyeDetail2SM.png (8836 bytes)

Programs

ADDLEN -  Total the lengths of selected arcs, circles, ellipses, lines, lwpolylines, polylines, and/or splines.

AlgaCAD -   Write AutoLisp programs to fill in standard drawings.

ALIAS   - Shortcuts / Single Letter Commands on the fly.

ATTINC   - Increment values of attributes.

ATTMAP - Map Attributes from drawing to drawing.

Autolisp Games - New!  3 new games.  Bridges, Memory, and Slider.

Axcel - VB Application for Excel.

AxcelPts - VB Application for Excel.

BatchLisp - Run a selected autolisp program on multiple drawings.

BLKOUT - Extract nested blocks into individual files.

BLKTREE - Display blocks and nested blocks in a tree format. 

BLOCKMASTER - New! Make your blocks with attributes a little smarter during insertion. 

BLOCKS - Count blocks filtered by name, attribute tag, or attribute value. 

CAD2FILE - Get entity data from AutoCAD to a file or into Excel.

CASE   Change text to upper case, lower case, or upper case the first letter of each word.

CHAIN  Draw a chain like drawing a line.  From point to point to point. 

CLAY  Create layer(s) from a master list. 

CNTBLK  Count blocks (Attribute Filter Also).

CREATOR - New!  Create your own autolisp programs. 

CSVTable  Draw a table in autocad based on data from a selected CSV file.

CYL - Create hollow 3D circular, rectangular, or polygonal shapes. 

ETable - New! Create tables from entity properties and label the entities. 

Free AutoCAD Tools

GA   - Get the area and perimeter by selecting the interior of any area.

GETCELLS   Function to get the values of a cell or cells from Excel into a list..  Updated!

IMPORT XYZ   Import coordinates from practically any type of file.  Draw nodes, draw circles, draw lines, insert blocks, insert blocks and update attributes with the coordinates  

ISODIM   Create non-associative isometric dimensions.  

LAYOUTS  Select a layout from a list box. Handy when there are too many layouts. 

LIBRARY  Create your own slide library automatically.

LoadLSP   AutoLisp loader.  View all of your autolisp programs along with a description.

Match  -  Draw a matchline.  

Num.lsp - Program to create charts automatically.

OverLapF - Remove Overlapping Lines.

REMF   Remove Multiple Layer Filters.

RepAtt  Replace the value of all matching attributes.  Includes a value filter.

Rolling_ball   Thanks to Guenther Bittner, the program is complete.  Find the mid-boundary between two polylines.  Verion 4+ now available.

SafeX - Explode a block containing attributes and replace the attributes with a text entity containing the original attribute value.

SBox  Create a Shadow Box

SelectPlotter - Select a plotter/printer from a list box. 

Simplex - Hatchable Balloon Font.

ShrinkWrap - Cheap attempt at shrinkwrapping using the boundary command.  New!

Surveyor - Insert point information from Excel or a CSV file.   New!

Words - Count words inside an autolisp drawing using filets. 

XL  - Get data from Excel into AutoCAD using Visual Lisp.

XMINSERT  Explode a MINSERT object.

 

 

Cogenerator

Creator - AutoLisp Cogenerator.   New! Updated the Make_LSP program

Make_LSP - AutoLisp Cogenerator.   (AutoLisp program to write AutoLisp programs. old!)

Make_LSP Help and Tutorial

 

Misc. AutoLisp Files

(Some of these programs were created with the Make_LSP program.)

AngX   -  Rotates entities by picking a line with the correct angle.

Au  -  Prefixes selected text with "%%u " and suffixes with " ".

BrkLine  -  Draws a break line. 

Case   -  Reverses the case of text. (Upper to Lower and Lower to Upper.)

ChTxHt - Changes the height of selected text.

ChTxLy - Changes the Layer of selected text.

ChTxRt - Changes the Rotation of selected text.

ChTxSt - Changes the Style of selected text.

Cloud  -  Creates a revision cloud.

CPYXREF  -  Copies entities from an XREF or Block.  

CrTextCircular Text

DrLim  - Draw a line representing the limits of the drawing.  (LimMax to LimMin)

EBT - Erase Blank Text.  Removes all text with a value of " " or ""

ErasNode - Erase all nodes in the drawing.

FL - Select a line and this program will put the feet(decimal) and the angle(deg min sec) centered on top of the line.

FZ and UFZ   FZ - FreeZes all layers including the current layer.   UFZ - UnFreeZes all layers.

Ma  -  Match text by selecting the items.

MixTxt - Rotates words through a text entity. Why? I don't know.

NodeSert - Insert blocks on every node in a drawing. 

NumberX - This programs makes numbers out of vertical text starting with number 1 being the highest vertical text location and working downward.

PipeLay - This program creates a layout drawing of a pipe to pipe connection to help the shop fabricate this unusual connection.  The shop wraps the paper around the pipe and marks the cut lines.  Click the link to find out more. 

PreTx - Prefix all text with a string.

RRR - Text search and replace routine.

Sag - Draws the sag for conductor lines in 3D.

Simplex - Draws "ballooned" simplex characters with polylines.

Slot - Draws a solid slotted hole.

SpcText - Puts spaces between each character in a text string.

srtAN - Function to sort alpha-numerically.   See inside file for instructions.

StText   STX - Stretches a text entity.   USTX - Un-stretches a text entity.

SwapEnt - Swaps two entities.

SwapTxt - Quickly swaps two text entities.

TextIn - Prints a text file in AutoCAD

TextOut - Prints AutoCAD text to a file.

TotalTx - Totals  numeric text entities.

More Coming soon..........

I've got several to add as soon as I find the time.

 


Request a program    Want to suggest a program?   

It's easy and cost you absolutely nothing.  Click this----->   I've got an idea!   

Want to see some EXAMPLE programs that were created through visitors ideas?   Click Here!

 

Also be sure to see the NUM.lsp program for creating charts.  This program was suggested by a visitor.  I created the program for free and give everyone access to it.

 

 

 


Help Me!!

Need help with a program?

It's easy and cost you absolutely nothing.  Click this----->   Help!   

 

 

 

 

Back to top


Custom Programming

Need a program?

Most "quick and easy" programs will be created for free.  Lengthy programs will be quoted. 

Click this----->   I need a program that does this:   

 

 

 

 

Back to top


 

ATTMAP - Attribute Mapping System.  OLD!

This program allows you to select two drawings.  The first drawing (the source file) is the one with the attributes with correct values.  The second drawing (the destination file) has attributes filled out incorrectly.  You then map each attribute from the source file to the destination file inside a dialog box.   Then save the attribute map.  Next, select all of the drawings you want the attribute map applied to and  the program does the rest.

Back to top


CAD2FILE 2.0 - This program allows you to send the properties of entities in a drawing to an Excel file, comma delimited text file, space delimited text file, or a tab delimited text file. 

  You select the type of entity and the type of file to create.   Then select the properties you want to send to the file.  These properties include Name, Value, Tag, Layer Name, Text Value, Color, Style, Insertion Point, Radius/Height, Start/Center Point, End Point, Diameter/Width, Vertex/Control Points, Line Type, Major Axis, Minor Axis, Rotation/Angle, Length/Perimeter, and Area.

CAD2FILE1.jpg (26595 bytes)

Double clicking on a CSV file will automatically open EXCEL and look something like this:

CAD2FILE8.jpg (72244 bytes)

Back to top


OverLapF - This program combines lines that partially overlap so that 2 line entities become 1 line entity.  You have the option to combine the overlapping lines or mark them with an ellipse.  Updated! The ellipse covers the overlap only.

Note:  I've used this program to simply reduce file size.  You will not believe the number of over-lapping lines this program will find in a drawing that you thought was perfect.  It works!

OverLapF.JPG (37058 bytes)

Back to top


 

AlgaCAD - Where Algebra meets AutoCAD

Relax!  You do the CAD and I'll do the Algebra.

This program fills in variable names inside an AutoCAD drawing.  You create the drawing and then let AlgaCAD help you write the code by answering a few questions.  Very little to no AutoLisp experience required.

   You create the drawing file or template as you wish.   Insert variable names as text entities and/or attribute entities.  Then you load AlgaCAD and let it help you write the code to make the variables equal whatever you want.  Save your list to be used again and again.  Press the RUN button and AlgaCAD will replace all your variables with the correct data.

AlgaCad01.jpg (58082 bytes)

Back to top


NUM - This program creates numbers for charts.  Vertical or horizontal.

Thanks to a user who requested this program, it's free for everyone!  This program has been tested in Release 14 thru 2004.  If you have any problems with it, please let me know.

Num.JPG (39078 bytes)

Download now for free!

 


MAKELSP For AutoCAD Release 12

This is a simple cogenerator.  Answer a few questions and the program  outputs a working AutoLISP program.  This version has been tested and used for years.   AutoLISP Creator for Release 12.

Click MAKE_LSP to download for AutoCAD R12.   (16KB)

    Fixed the altering properties bug when altering DXF group codes 6 and 62.

 

 

 

MAKELSP For AutoCAD Release 14

This is a simple cogenerator.  Answer a few questions and the program outputs a working AutoLISP program.  This version has been used hundreds of times but has not been completely tested.

Click MAKE_LSP to download for AutoCAD R14.   (16KB)

  Fixed the altering properties bug when altering DXF group codes 6 and 62.

 

 

 

MAKELSP For AutoCAD Release 2000

This is a simple cogenerator.   Answer a few questions and the program outputs a working AutoLISP program. This version has not been completely tested.

Click MAKE_LSP to  download for AutoCAD R2000.   (16KB)

  Fixed the altering properties bug when altering DXF group codes 6 and 62.

 

 

Back to top


 

MakeLSP Tutorial and Help File Available Now    <Click>

 

 

 

 

 

Back to top


AXcel

This program is part Visual Basic and part AutoLisp.   To run this program you select your Excel file, your Autocad drawing, and Press the RUN button.  AXcel will open up Excel (invisibly) and extract the values from the cells, including text justification and color for each cell.  It dumps the data into a text file then opens the drawing you selected in AutoCAD (visibly).  After asking you for an insertion point, the program draws the spread sheet and fills in the appropriate values from the Excel text file.  It applies the proper text justification and color to each cell.

Be sure to read the readme.txt file for installation instructions.

AXcel - Only 28kb.

 

 


 

AXcelPts    Version 2.0

This program is part Visual Basic and part AutoLisp.   To run this program you select an Excel file and a temporary data storage area.  Then press the RUN button.   AXcelPts will open up Excel (invisibly), extract the values from the cells, dump the data into a text file, and then open AutoCAD (visibly).  The program draws little circles representing the x,y coordinates from the Excel file. 

The Excel file should contain two columns with multiple rows of x and y coordinates.

Be sure to read the readme.txt file for instructions and notes.

AXcelPts.zip - Only 27kb.

 

 

Back to top


SIMPLEX 

This program creates "ballooned" simplex characters with polylines.   Each character is a separate entity.  You can select a text entity to convert... or you can select an insertion point for new text.  This font is free and hatchable.

AutoCAD Image:

   Simplex.gif (2875 bytes)

 

Other fonts are available for $50.00 per font.      Request a Font

 

Download Simplex.lsp

 

 

Back to top


Back to top

 


 

Found an Error: 

 

Having trouble with one of the programs not working for your version of AutoCAD? 

 

Click this----->   Please fix this!


Support this site!

Back to top


Home

All questions/complaints/suggestions should be sent to JefferyPSanders.com

Last Updated September 24th, 2013

Copyright 2002-2013 JefferyPSanders.com.  All rights reserved.