Tutorials ] Tips and Tricks ] CADzette Archives ] [ Downloads ] Books ]

Downloads

isoviews.swp Create iso view with this macro in SolidWorks
locl.lsp Brad Smith, from South Carolina, emails:
 
Can you make a routine that will allow you to select a line/pline/object in the current drawing or xref'd drawing and have the pop-up color pallet let you pick the new layer color?  
elev-lab.lsp Alan J. Thompson from Tallahassee, Florida writes: Please write a lisp that will calculate the slope between 2 points. I want it to prompt for the first elevation, the second elevation and then prompt to select 2 points (the 2 points for the distance). Then it will place a piece of multiline text in the middle of the 2 selected points looking like: 22 LF @ 2.22%.
xref-det.LSP Milo Gerber, from Chicago, Illinois, emailed requesting a lisp routine that would detach any xrefs that were not found.
tseg.lsp Lennart Ekelund, from Sweden, emailed me asking for a very simple lisp routine. He wanted to find the 002-part of "Text with 002 inside", and then draw a line from 0,0 to the insertion point of the actual text strings.
llen.lsp Luis Ascencio requested a lisp routine that would automatically place text below the midpoint of a selected line or polyline with the length of the selected line.
LockAll.lsp James Donaldson from Dallas, Texas - I'd like a routine that locks all layers except the selected layer. then you could easily edit something with out messing up everything around it :)
Brian's Lisp Brian Jones, from the UK, emailed this request: 1- Add a grip, a function to insert a grip along a polyline instead of having to break @ and rejoin using pedit. 2- After listing a length of a line, applying that value to a piece of text by picking it without having to copy and paste that value manually. Download both routines in the zip file.
cmtxt.lsp Changes the color of the mtext to bylayer without having to edit each mtext if 'hard' colored.
anum.lsp This routine creates two layers and then auto-places a prefix; i.e. A/B/C and then a subtext number, auto-incrementing the numerical values.
chl.lsp Breaks a line and changes it's properties
flag.lspDraws an American Flag in AutoCAD.

AutoLine.exe is an AutoCAD Screen Saver that displays Radical, Random, Colorful Line Patterns in the current viewport. AutoLine.exe is compatible with AutoCAD release 12 & 13. AutoLine is hot-key activated, it does not automatically start after a set period of inactivity as do Windows screen savers. Nor does it cover the entire screen,, the screen menu, status line, and command line are left on screen and are not affected by AutoLine. Therefore it does not protect your screen from long term static image exposure in those areas..

justifyv2.zip

Change text justification using a dialog box.

The Phantom Menace Star Wars Episode I Screensaver

batch32.zip

Scripteeze Batch Utility - allows batch processing of AutoCAD scripts...
great of updating, plotting, or modifying AutoCAD dwgs....fully WINDOWS
compatible.

textcasev1.zip

Change from upper to lower case & vice versa with a click of a button

3dspiral.zip

Create a 3d spiral

y2k.zip

Change all the dates in your drawings to make them Y2K compliant.

blank.zip

This module provides functions to manipulate the visibility field of
AutoCAD objects. BLANK will make a selection set of objects invisible.
UNBLANK will make a specified object (given its handle) visible.
UNBLANKALL will make all blanked entities visible.

 locktb.zip

From Owen Wengerd

LockToolbar is a utility which "locks" AutoCAD Release 14 toolbars in position by tricking Windows into ignoring mouse picks on anything but the toolbar buttons themselves. This prevents the common problem of accidentally rearranging toolbars.

 ed.zip

Thanks to Peter Thomson, senior draughtsman at Montgomery Watson New Zealand Ltd.

Combines all text and attribute edit
commands into one command.

 GetDwgProps.zip

A2000 Only

Gets the drawing properties, title, author, creation time, etc.
This is not a finished routine, but is meant to be used as a subroutine inside of user's program.

 archsymbols.zip

 Four Autocad R14 drawings containing blocks that can be used in house or landscaping design

 plotstmp.zip

 Annotate or "Plot Stamp" AutoCAD 2000 Drawings
Adds the specified plot stamp information (such as drawing name, layout name, date and time, and so on) to a drawing that is plotted to any device.

 aclyutilarx.zip

 Layout Utility adds some new commands to
AutoCAD 2000. Pageout lets you create and store plot settings in
a named page setup. Pagein lets you import Pageout settings into
any drawing. Viewtolayout copies objects and current page
settings in a paper space view and creates a new layout in the
same drawing.

cc.lsp

Prints the radius of the circles in a drawing in the text window.
This routine was requested by Peter Nigh.
You can then use Copy Paste to copy the radius values to an ASCII text file.

bsclist

This routine lists the blocks in your drawing and the current X/Y scale of each block insert. Saves time instead of having to list each block.
Works in R14 or 2000.

addtext.lsp

This routine adds all the text entities and provides a sum.

ffw3s.zip

File Fission Wizard is the easiest way to split a file into smaller pieces. It uses an intuitive wizard interface, and a batch file for recombining. You can use File Fission Wizard to

  •   E-Mail large files to problematic servers

  •   Copy files to and from your laptop or second computer
  •   Archive seldom-used files
  •   Give large files to your friends.
  •   Backup huge downloads

 

t2mt.zip

Takes 1 or more lines of text and converts them to mtext. Works in R14 and A2K.

cabnum.zip

Allows you to label cables, wires, panels quickly. Set a prefix value, a starting number, an increment value and then just select insertion points.

rb.lsp

Rotates blocks to a user-specified angle

fr.zip

Thanks to P.Farrell

Freezes selected entities in current vport only...also freezes layers on xrefs.

elev0

Moves selected entities to z = 0< /P >< /P >< /P >

ddattext.arx

Extracts the attributes in your drawing to a file. Uses the lsp & dcl that come with AutoCAD. Be sure to download the tutorial as well.

pipe

Makes a 3D cylinder..User specifies inner and outer diameter. For a solid cylinder, specify an inner dia of zero.

ztext

User enters a text string, routine searches through text, mtext and attributes and then zooms to that area of the drawing. Text must match exactly - no partial phrases, spelling errors, etc. Lower/upper/mixed case OK.

bscale.lsp

Re-scales all the inserts/blocks in a drawing to 1:1 scale

scan2cad

Demo software for product that allows user to take bmp or tiff files and translate them to dxf files into AutoCAD. I tried it and it actually works better than most. Instead of dots, entities actually get translated to lines and arcs(!) Scale will be off unless your scanner is really fine.

 laylog.lsp

Creates a (text file) report for all the layers in a drawing

AutoCAD2000 ScreenSaver

FREE AutoCAD2000 ScreenSaver from AutoDesk - zipped for fast download

pid.zip - Thanks to Ed Stannard!

Inserts the x and y coordinates as text at a selected point (good application for GIS

pmark.zip- by Barry Bowen

A collection of four files that demonstrate extracting attribute data from a drawing to an Excel spreadsheet.

REDLINE.ZIP/EXE- by Tony Hotchkiss

A collection of 13 files designed for teachers grading AutoCAD drawings. (After extracting files, see redliner.txt for instructions)

arcfurn.zip

3D Architectural Symbols for use in Architectural Desktop

Dilbert ScreenSaver

Dilbert is attached by giant falling vegetables

hydraulic-symbols.zip

Hydraulic symbols for use in AutoCAD2000/i and R14

civil-symbols.zip

Civil and landscape symbols for use in AutoCAD2000/i and R14

plreduce.zip

Eliminates every other vertex in a polyline - AutoCAD2000

 ler.zip

This routine brings up a drop-down list of all existing layers. The user selects a layer. All items on the layer and the layer will be purged from the current drawing. Great if you use a construction or scratch layer. Works in AutoCAD R14 and above.

redefblk.zip

This routine allows the user to redefine an exploded block that has been edited. Replaces all existing blocks with the new block. Command to run is 'rb'. AutoCAD R14 and above

 ceilgrid.zip

This routine places a floor or ceiling grid. User can select several different grid types using a dialog box. The ab_gr_arrow.dwg should be placed in the support path or in a directory listed under support files to ensure AutoCAD can find it. Works with ADT R3.3/AutoCAD20002.

xoff.zip

This routine will offset an xref's line or polyline without exploding or opening the xref - AutoCAD14/2i/2002

spacetag.zip

Zip file contains space tag block and lisp routine. Works in ADTR3.3 ONLY. Allows the user to select a space and inserts a tag with the space properties automatically. Great time-saver.

inventor-avis.

This powerpoint includes a set of Inventor avi files created by students at DeAnza College. A great motivator if you teach Inventor or can be used as a screen saver. Warning: This file is 15MB.

inventor_des_trkr.zip

The Inventor Design Tracker can be used by Engineers, Purchasing Managers, Operations, etc. to view and check status of Inventor drawings.
Great for collaboration - also can be used by customers.
Can only be installed and used on systems that DON'T have Inventor

dnote.zip Thanks to Joe Kimberlin

Uses a dialog box where the user can select common dimension suffixes, i.e. TYP./MIN./MAX, select a dimension and automatically update the dimension.

atth.zip

Change the attribute height of all blocks in your drawing without exploding the blocks. Routine prompts for new attribute height, automatically searches your drawings for all blocks, and then modifies the attribute heights without changing attribute values or exploding the blocks

custcir.zip

Prompts user for a x-centerpoint, y-centerpoint, radius, and number of points. Then creates a set of points for a circle based on user input. Good example to learn lisp.

updrev.zip

You want to modify the Revision Number field on the Statistic tab of the Drawing Properties dialog box. This field is used by revision control or other drawing management software. There is no simple method for editing this field. However, you can use this AutoLISP function to update this field.

scoop.zip

Ice Cream Scoop assembly modeled in Inventor R4.
This would make an excellent class project. The handle is created using lofts. Zip files include an avi simulating mechanical motion. Excellent teaching tool for teaching drive constraints.

Model is an ice cream scoop purchased for 99 cents at Longs Drugs store.

pdfcreat.zip

Pdf Creator - Free pdf creator. Allows you to create pdf files without Adobe Exchange. This is shareware.

idesign.zip

Flying Toaster Screensaver with an Autodesk flair

jellyfish.zip

Autodesk's Jellyfish screensaver - created with Inventor

Express Tools

These tools are for R14 and below.  ADT3.3 readers can also use these tools for the tutorial in my ADT3.3 Fundamentals text.  AutoCAD2004 now includes a version of the Express Tools for free.  Do not load these tools into 2002 or above as you may not get the desired results!

xo.zip- Thanks to Steven Kohler!

User can select an xref and will open the external reference for editing. A2K

 cth.zip Thanks to John Kuba

Allows user to set all text in a drawing to the same text height. Works in R14, A2K and beyond, does not affect MTEXT or attributes

bset.zip Thanks to Teri Hawn

Scale blocks in a drawing by specifying the scale and a selection set of blocks.

insxls.zip

The user selects an Excel spreadsheet. The user selects where the spreadsheet data should be inserted. This routine creates a block consisting of text and lines from the data automatically. The code is open, so you can see how it is done.  There is a readme help included that provides guidelines to get good results.

 matt.zip Thanks to Normand Lalonde

Moves all the attributes for all the blocks in a drawing to a user specified layer

  txtupd.lsp

Match attributes or text to a specific text style

dimstyle.lsp This routine prompts you for a dimension style name and then sets your current drawing to that dimension style. If the dimension style exists, sets it current; if the dimension style does not exist, inserts a drawing that contains the dimension style and sets it current. In this example, the inserted drawing file is named dim_template.dwg. To use a different template or source drawing, modify the code to use the correct file name.
chatprop.lsp Softdesk uses a block for surveying points, consisting of an AutoCAD point, and three attributes: elevation, description and point number. This routine is used to individually control the obliquing angle and color of attributes.
subblk.lsp The routine allows you to create a selection set of blocks to be replaced. You may substitute a new block and the new block will be inserted using the insertion point, layer, scale, and rotation angle of each block to be replaced.
ali.lsp Align text, blocks, lines, whatever. Just select the source object, specify whether you want to align Horizontal or Vertical, and select as many objects you want to adjust.
delps.lsp Delete all your Page Setups and Start Over
btot.lsp Select blocks and the total is printed on the command line - Requested by Shawn Nguy
loff.lsp This routine will turn off the layer for an external reference simply by picking on an entity that is in that reference.
splot.lsp Inserts a stamp plot...you need to customize for your usage!
match.lsp Requested by Bharath Gowda - Align two matching sides
metric space tag. zip Routine and block for placing a metric space tag for ADT2005
findbind.lsp - Requested by Barry Hayes The routine basically searches through a drawing and locates all the xrefs. If the xref is loaded, it binds it (converts it to a block). If the xref is unloaded, the xref is detached. The drawing is then purged, zoom all, and then saved. As always, I have kept the code open and commented so lispers can use it as a jumping-off point for their own code.
xlth.zip - Requested by Beau Goff Prompts the user to select an xref, enter the layer filter pattern - any set of letters or numbers, then freezes all layers in that xref that contain the desired pattern. As always, the code is open with plenty of comments so you can modify it for your own use.
sc5.lsp Scales a selected object by half
psetup.lsp by Jason Piercey Applies a page setup to layout tabs across a drawing
xtable.lsp Imports a csv/txt file to create a new table in AutoCAD 2005/2006 - Thanks to Luis Esquivel for his help!
garea.zip Lisp routine that provides the area of an object
abl.lsp Change the attributes of selected block(s) to be the same as the layer the block is on. - Thanks to Tim Willey
attupd.zip Autoincrements attributes in a block - great for wire numbers, page numbers, room numbers, etc.
slm.zip Autodesk Slide Manager Utility
swline.lsp Swaps the endpoints of a line - useful with custom linetypes. Requested by Brian Schnautz
revsave.lsp Changes the file name to the next revision level
case.lsp Changes the case of text
pjoin2.lsp Automates creating polylines - thanks to Skyler Mills!
archivedwg.lsp Creates drawing archives - thanks to Jim Dee!
cbox.lsp Creates a polygon from selected lines
lotot.lsp Find out how many layouts in a drawing
arr.lsp Places an arc instead of a line/spline for a leader
totab.lsp Adds values in a table
brep.lsp Extracts the attributes in one block and replaces the old block with a new block with the attribute data
ImpPageSetupPDF.lsp Imports a page setup from a template drawing and places it into the active drawing
lsplm.lsp Converts leaders from lines to splines - Requested by Israel Rangel Ramos
upt.lsp Updates selected text and mtext to the current textstyle - Requested by Israel Rangel Ramos

Make a request!