South Plains AutoCAD Users Group

LISP of the Month
2003

January February March April May June July August September October November December

HOME  Current LISP 2005 2003 2002 2001 2000 1999 1998 1997


 

December's Lisp of the Month

TStyle.Zip

TSTYLE - Text STYLE changer 

First you are asked for a selection method:

...selection method...[Global/Select] ? :

Global selects all mtext and text in the drawing to change
Select allows you to select mtext and text in the drawing to change

After selection you are asked to pick a text style from a dialog box mtext and  text is changed and moved to "TEXT" layer.


written by Russel Steffy, Bethlehem, PA

 

November's Lisp of the Month

DStyle.Zip

DSTYLE.LSP - Dimension STYLE changer

 First you are asked for a selection method: 

...selection method...[Global/Select] ? :

Global selects all dimensions in the drawing to change
Select allows you to select dimensions in the drawing to change 

After selection you are asked to pick a dimension style from a dialog box; all dimensions are changed and moved to "DIM" layer. 

DSTYLE.LSP just changes the dimension style by using the AutoLisp function (entmod).

All units, location, and orientation parameters are preserved. 

NOTE: If you use DSTYLE.LSP to upgrade a dimension from an older version AutoCAD to a newer version the dimension and it's text may move. Newer versions of AutoCAD use a different method for determining dimension location and orientation. You can use GRIPS to move the dimension where desired.


written by Russel Steffy, Bethlehem, PA

 

October's Lisp of the Month

AStyle.Zip

ASTYLE - Attribute STYLE changer

 Text height changing is currently disabled, if you want to enable it remove the semicolons in front of all the "grayed-out" text height code, marked at the end of the line with  ;text height code 

First you are asked for a selection method: 

...selection method...[Global/Select] ? :

 Global selects all blocks in the drawing to change
 Select allows you to select blocks in the drawing to change

 After selection you are asked to pick a text style from a dialog box; all attribute text is changed and moved to "TEXT" layer.


written by Russel Steffy, Bethlehem, PA

 

September's Lisp of the Month

DDD.Zip Dynamic Dialog Distance

The Dynamic Dialog Distance allows you to pass results transparently, with dialog box interface, to internal active AutoCAD commands.  To execute the command within a command, use 'DDD.  First, you pick two points. Then, pick the button to pass the associated information to active AutoCad command.


written by Russel Steffy, Bethlehem, PA

 

August's Lisp of the Month

DDC.Zip Dynamic Dialog Calculator

The Dynamic Dialog Calculator routine allows you to pass calculation results transparently, with dialog box interface, to internal AutoCAD commands. To do this you can type "!RSLT" at the command line to use results in internal AutoCad commands.  To execute the command within a command, use 'DDC.


written by Russel Steffy, Bethlehem, PA

 

July's Lisp of the Month

MHatch.Zip Multiple Hatching

MHatch hatches multiple closed entities with solid hatches.  Not only will it work on closed Polylines and LWPolylines, it also works on any closed AcDbPolylines such as circles, ellipses, etc.

written by Jeff Tippit

 

June's Lisp of the Month

VPSCALE.Zip VP Scale

VP Scale adds scale annotation in Mtext, style TITLE (font Swiss 721 Black Extended BT) 3.5mm high, in layer VP-TEXT, 7.5mm below paper space view port, centered to view port.  User can then edit to add view port annotation.  Text height can be adjusted to desired size by changing code at line 47.

written by Syd Derbyshire of
Cheadle,  Cheshire, United Kingdom

 

May's Lisp of the Month

DCS.Zip Dynamic Coordinate System

The Dynamic Coordinate System routine allows you to transparently input coordinates via Cartesian, cylindrical, or spherical coordinate systems, with dialog box interface, to internal AutoCAD commands.  To execute the command within a command, use 'DCS.


written by Russel Steffy, Bethlehem, PA

 

April's Lisp of the Month

Hpgl-in.Zip HPGL Plot Files into AutoCAD

The Hpgl-in.Lsp allows HPGL plot files to be imported into AutoCAD.  It is to be used only with HPGL language, not HPGL2 language.


written by Kenney Robertson, Falkirk, Scotland

 

March's Lisp of the Month

DCT.Zip Dynamic Change Text

The Dynamic Change Text routine allows the modification of "TEXT" entities.  It also has the Find/Replace tool, allows prefixes, suffixes, and various other modifications as shown below.


written by Russel Steffy, Bethlehem, PA

 

February's Lisp of the Month

PERP_PT.Zip Perpendicular to a Point

Provides an additional snap to return a point perpendicular to a selected point, either in a horizontal or vertical direction from another point.  It is usable in any edit command requiring snap points, but has to be invoked transparently while command is active by issuing the command (perp_pt).

Example shown at right to demonstrate moving a rectangle perpendicular to a picked point. 


written by Syd Derbyshire of
Cheadle,  Cheshire, United Kingdom

 

January's Lisp of the Month

Spl2pl.Vlx Explode Spline Routine

Spline to Polyline routine allows you to explode a spline and turn it into a polyline.  It prompts you for a distance between vertices.  

requested by Michael Rocco, San Diego, CA
written by DotSoft

 

All routines that have an author listed in the file are kept intact as to respect authorship.
Some of them may not have an author, if you recognize a routine that is yours please e-mail me so that I can acknowledge you.
If you would like to see your work archived here feel free to send it to the address below.
Any routines will be posted acknowledging you as the author. If a routine is labeled new, it means new for this site.


Powered By SGI Servers
SGI Powered Web Site
Page Maintained & Updated by Jeff Tippit
Original Page Design & Implementation By Patrick M. Slattery
Copyright © 1996-2007 SPAUG
Last Updated February 28, 2007