Welcome to myCADsite.com
Here you will find some useful tips and tutorials to help you in your daily CAD work.
   
 
 
Home
Tutorials
Downloads
Surveys
Links
Samples
Guestbook
Etc.
   
     
 

FREE AUTOCAD PROGRAMS AND ROUTINES

The purpose of the page is to provide you with some basic programs that you can use in your day-to-day work. If you are learning to program, you may want to dissect them and see what you can learn from them.

I have broken these down into a couple of sections, as they were created by various people. If you have written a program and would like to submit it, please do. (e-mail)

IMPORTANT NOTE:

These programs are 'as is', that means that if you have questions about them, please do not contact me. Any programs listed here should work in AutoCAD up to version 2000. They are made available to you for free, to use for your personal use. Please do not distribute them for any use in any form of publication, including the web.

BASIC INSTRUCTIONS:

First, and most important, place all downloaded files into a directory that can be found in the Acad search path. To check your search path to ensure this, type 'preferences' at the command line within AcadR14 and check the "Support File Search Path" for your chosen directory. Or alternativley, you could place the file(s) into your AcadRxx/Support directory which should already be listed within your search path.




NEW FILES - RECENTLY SUBMITTED

HOWFAR.ZIP

7k

This is a powerful measuring tool!
The exact distance and the X and Y componets between two points
(PT1-PT2) in Decimal, Fractional, Engineering, Architectural and
Metric. It also gives the angle between the two points in Nearest
degree, Decimal degree and degrees/minutes/seconds formats. While
the dialog box displays the measurements it allows the user to
change the precision of each format from 0 to 8 places precision.

Submitted by: Richard Sandgren

Screenshots here.

OW.LSP

2k

Overwrite - This lisp will Overwrite the text of multiple associative dimensions. This allows you to be able to stretch dimensions without their values changing, without exploding the dimension or turning dimaso OFF.

Submitted by: Andy Leisk

Special Thanks to Dave Noble of MWTECH for providing some great programs here (for free)!

 
Click Here to go to MWTECH

Founded in 1997 and incorporated in 1998, MW Technologies is a privately owned company based out of Victoria, British Columbia. They excel at removing paper from their clients operations using their innovative mobile computer and database technology.

 

Click HERE to view important information on using these files.

Zipped files include the ARX, LSP, TXT, DCL files.

This routine draws text along a flowing Pline. This Pline can be made up of both straight and curved sections, on both 'Polyline' and 'LWPolyline' entities. It offers the user a choice of available text styles and allows for changing the text style heights regardless of the style preset (displays only text styles already present in the drawing). After selecting a text style and height, a preview is available by using the 'preview' option, which shows what the finished product will look like before committing to any style or height. (Updated 8/23/06)

ATTFLIP.ZIP

264k

 

AttFlip is a function used to ensure that a blocks's attributes are always readable to the screen regardless of the block's rotation angle. It also has the ability to flip and rotate groups of attribtes.

GETVERT.ZIP
261k

This function extracts the point information of a Polyline or LWPolyine and returns a vertex list.

TABLE.ZIP
293k

This function draws a table based on a compilation of passed lists and returns the most bottom right corner point. The table function allows for several different looks to the column headers. Multiple row and Multiple column spanning titles can easily be created, all dependent on the format of the information passed to it.

XDATA.ZIP
268k

This function is used to place all Extended Entity Data (xdata) onto entities. It only handles the most commonly used xdata forms of: String, Real or Integer. The zip file also contains a utility to show the Xdata (good for testing).

Download all files listed above in one zipped file.


ASSORTED SHORT LISP FILES

This is a collection of AutoLISP files (some from my school days), some of them are quite useful, and they are mostly very well documented. If you are learning to program, these files may prove to be very useful to you.

 

This program will allow the user to select an existing text from the screen and then select text using a selection set ; the change this text to the same height and style of the original source text.

This program will enable the user to pick on a 2D polyline and have the cumulative distances displayed above each ; vertex of the polyline. (RELEASE 13 AND EARLIER ONLY)

This program provides the user with a dialog box that will do simple calculations. The answer is stored in a global variable that the user can utilize at the command prompt.

TBA.ZIP 6k

This program will display a dialog box that will prompt for the values needed to complete a A4 title block and insert the title block into the drawing complete with attributes.

SL.LSP 1k

This program will reset the current layer to the layer of a user picked entity.

This program will draw a bolthead (hexagon and circle) using a pline after the user has supplied the insertion point and nominal shank diameter of the bolt.

This program will create a leader pointing to a picked point and list the X and Y co-ordinates of that point.

This program copies a selected object to be extruded and places it onto a layer called profile and then extrudes the original so the user always has a backup of the extrusion in wireframe.

VPTEXT will prompt the user to enter a viewport scale, then select text objects. The program will then scale all text selected up by that factor.

This handy routine will provide with both a distance between two points and a running total distance as you pick points. Submitted by: Don Jacobsen - Energy Northwest - Richland, WA


   
     
 
Disclaimer
Privacy
Resume
E-mail
   
 

Site is owned and operated by Art Whitton, Las Vegas, NV

Last Update: PST