Login | Sign Up
 





 
AutoLISP / Visual LISP Downloads
All downloads on this page are provided "AS-IS" with no expressed written or applied warranty. HyperPics assumes no responsibility for problems that these programs might cause. All programs have been tested as best as possible against the releases that is mentioned for each program.

Sample Name/InformationDescription of Sample
R12 - 2005
Blkx.zip  ( 2KB )
Last updated on: Unknown
BLKX - Block Export is a command that allows you to take a snap shot image of the blocks and their quantities in the current drawing and place the values into a formatted text file. The text file will be automatically be displayed in Notepad.

Command(s):
  Blkx
  Blkx?

Update includes the ability to choose whether or not the information goes to file or the Command line.

R14 - 2004
BrowseToFile.zip  ( 1KB )
Last updated on: Unknown
BrowseToFile - Contains two commands that allow you to search for a file within the AutoCAD support paths and display the location within Windows Explorer. Very useful if you do customization for AutoCAD.

R12 - 2002
Chgtxt.zip  ( 3KB )
Last updated on: Unknown
CHGTXT - Text Modifier command will allow you to modify one string of text at a time. This command kind of replaces the use of the DDEDIT and DDMODIFY command for certain text editing tasks. The only new feature over using this command is the ability to change your text to all upper or lower case without retyping it. This routine (CHGTXT.LSP) and the dialog definition file with the same name (CHGTXT.DCL).

R12 - 2004
Cloud.zip  ( 1KB )
Last updated on: Unknown
Cloud - Allows user to define a path to create a cloud on.

R12 - 2004
Cloud8.zip  ( 1KB )
Last updated on: Unknown
Cloud8 - Allows user to define a path to create a cloud on. Same as other cloud routine but works better on 1/8 scale drawings.

R12 - 2002
Copyrot.zip  ( 1KB )
Last updated on: Unknown
COPYROT - Copy Rotate is a command to allow you to copy an object and then do a rotate right after it.

R2004 - 2005
CustomDWGProp.zip  ( 2KB )
Last updated on: Unknown
CustomDWGProp - The Custom Drawing Properties program provides a way to change the Drawing Properties that are editable through the DWGPROPS command, but through a command line interface. It allows for the editing of both Standard and Custom Drawing Properties. Along with editing, adding and deleting functionality it can also list the information to the command line as well.

Command(s):
  CustomDWGProps

R12 - 2004
Dxf.zip  ( 0.5KB )
Last updated on: Unknown
Dxf - Used in conjunction with standard AutoLisp function entget. This is a create program to help in getting entity data.

R2004 - 2005
ExtendedOpen.zip  ( 1KB )
Last updated on: Unknown
ExtendedOpen - This is a sample program that allows you to open up both AutoSave (SV$) and Backup (BAK) files. It uses some VL functions to open the drawing and makes a copy of the original file with the extension DWG. If a drawing file already exists in the directory a warning is displayed and the SV$/BAK file is not renamed.

Command(s):
  ExtenedOpen
  EO

R12 - 2002
Hlayer.zip  ( 1KB )
Last updated on: Unknown
HLAYER - HLAYER is a collection of layer modifying commands to allow you to modify layers more effectively. It contains Layer Freeze, Lock and set Current commands. They all work by selecting an object on that layer.

R12 - 2005
Hyprvar.zip  ( 13KB )
Last updated on: Unknown
Pick of the Month in Cadalyst Issue for June 2000

Hyprvar - Hyprvars is a routine that is used in conjunction with a text file that contains all the Systems Variable sin AutoCAD that are not read-only. This routine allows you to generate a blueprint or snap shot of how you want the System Variables to be setup at. So the next time you get a client drawing in you can change the System Variables contained in that drawing to your corporate standards, or even if you share drawings in your office between people. This is great to reset Grip Colors and various other preference and utility specific variables.

Command(s):
  HYPRVAR

R2000 - 2005
LayoutNav.zip  ( 1KB )
Last updated on: Unknown
LayoutNav - After getting a couple e-mails and reading postings in various Newsgroups about getting a list of Layouts from a drawing I decided to make an AutoLISP example of how to do this. It has a function that returns a list of all the Layouts in a drawing in the order that they appear in. Along with the custom LISP function it has four defined commands that allow you to navigate the Layouts.

Command(s):
  NextLayout
  PreviousLayout
  FirstLayout
  LastLayout

Exposed LISP Function(s):
  Get-Layout-Lis

R12 - 2004
LD.zip  ( 0.5KB )
Last updated on: Unknown
LD - LD is a command to make loading AutoLISP programs from the command line a little less of a pain.

R12 - 2004
Lpurge.zip  ( 1KB )
Last updated on: Unknown
Last Purge - Purges everything out of the drawing with first type of the command.

R12 - 2002
Lyrx.zip  ( 2.5KB )
Last updated on: Unknown
Posted in Cadalyst Issue for February 2002

LYRX - Layers Export is a command that allows you to take a snap shot image of the layer settings in the current drawing and place the values into a formatted text file. The text file will be automatically be displayed in Notepad.

R12 - 2004
Midpt.zip  ( 1KB )
Last updated on: Unknown
Midpt - This routine takes to given points from the user and then calculates the midpoint of the two lines and places a small circle at the midpoint for easy reference.

R12 - 2004
Moverot.zip  ( 1KB )
Last updated on: Unknown
MOVEROT - Move Rotate is a command to allow you to move an object and then do a rotate right after it.

R12 - 2002
Mr45.zip  ( 1KB )
Last updated on: Unknown
MR45 - Mirror 45 is a very different way to mirror things around angles. The angles are unlimited. No more changing of the crosshair angles and then setting them back for you. This one will do it for you.

R2005
MtextMask.zip  ( 1.5KB )
Last updated on: Unknown
MtextMask - The name pretty much says it all. It allows you to add Background Mask to Mtext objects without the need to go through the Mtext Editor which can take some time when you have many Mtext objects. It supports the ability to remove Background Mask, use a color specified by the user or the background color of the current Layout and Border Offset.

Command(s):
  MtextMask

R12 - 2005
Nested.zip  ( 1KB )
Last updated on: Unknown
NESTED - Display Nested Blocks was written as an example of recursion in AutoLISP as well as functionality that I needed for one of my programs. It allows the user to select a block and display the nested blocks that are contained with in it and generates a Tree type view of the block structure. It can easily be modified for extracting attributes or displaying other information about the sub-structure of a block.

Command(s):
  NB

Example:
*test5
|-> test4
|     |-> test2
|     |-> test1
|-> test3

In the example Test5 is the parent block with two blocks nested with it itself. Then it also shows the two blocks nested with in test4 as well.

R2000 - 2005
No-Explode.zip  ( 1.5KB )
Last updated on: Unknown
No-Explode - Undefines the standard Explode command and redefines it with a filter to block the selection of certain object types like Blocks, Mtext and Dimensions. The filter can be changed very easily in the code.

R13 - 14
R12.zip  ( 0.25KB )
Last updated on: Unknown
SaveAs R12 - Automatically takes your R13 or R14 drawing and SaveAs it into R12 format. Great program to use in a script file or Lisp routine. Will not stop and ask for you to save your drawing after using it.

R14 - 2002
R13.zip  ( 1KB )
Last updated on: Unknown
SaveAs R13 - Saves your Release 14 drawing to R13.

R2004 - 2005
ReactorCleanScreen.zip  ( 1KB )
Last updated on: Unknown
ReactorCleanScreen - This is a custom command reactor that is written to monitor the CleanScreenOn command. When it sees the CleanScreenOn command it captures the current values of the standard dockable tools like DesignCenter, Tool Palettes or Properties. Once the command has completed it then re-launches the tool to have it displayed on screen keeping then visible and the Toolbars not. Running CleanScreenOff brings back the Toolbars once again

R2000 - 2005
Refresh-Menu.zip  ( 0.5KB )
Last updated on: Unknown
Refresh-Menu - If you are some one that likes to customize the AutoCAD Menus this is a tool for you. After many years I finally created a command that will erase the MNC file and performs a the menu command to reload the menu. If Express Tools are installed it will check to see if they are loaded and load the Express Tools as well.

R14 - 2005
RefreshBlocks.zip  ( 0.5KB )
Last updated on: Unknown
RefreshBlocks - The Block Refresh program will attempt to reload a block from an external file if it can be found with in the AutoCAD Support Paths that are called out in Options. If it is found it will redefine the block insert for each one that is listed in the Block Table otherwise it will skip over it.

Command(s):
  RefreshBlocks

R2000 - 2005
RemoveLayerFilters.zip  ( 1KB )
Last updated on: Unknown
RemoveLayerFilters - This routine is designed to remove all the Layer Filters from a drawing.

Command(s):
  RemoveLayerFilters
  RLF

R12 - 2005
Rotmove.zip  ( 1KB )
Last updated on: Unknown
ROTMOVE - Rotate-Move is a command to allow you to rotate an object(s) and then perform a move right after it.

R12 - 2004
Rtdndtr.zip  ( 0.5KB )
Last updated on: Unknown
Rtdndrt - These routines are great to be used inside of your routines to help convert data from Radians to Degrees and then from Degrees to Radians. I use these routinely in a lot of my routines that I write. I am sharing these with you to help you increase the power of your programs. These can easily be added to an Acad.lsp or just right inside of your programs.

R2005
TableExample.zip  ( 1KB )
Last updated on: Unknown
TableExample - This is a sample program that shows some of the methods that are available for the new Tables API. It has a selection system that works like the standard TABLEDIT command in AutoCAD. The methods that are used in the same are HitTest, GetText, SetText and GetCellType.

Command(s):
  selTableCell

R12 - 2004
Tag.zip  ( 1KB )
Last updated on: Unknown
Tag - The tag allows the user to place a leader, (w/o an arrow attached to it), that has a numbered bubble attached at the opposite end. The number counts upward in an increment of one from the users defined number. Some people refer to this type of routine as a lollipop maker, and if you don't know why you will if you try it.

R12 - 2004
Tag1.zip  ( 1KB )
Last updated on: Unknown
Tag1 - The tag allows the user to place a numbered bubble at any give point. The number counts upward in an increment of one from the users defined number.

Total AutoLISP Code Samples: 32