
********    RUN LISP - AutoCad for Windows batch drawing processing.   *********

RUN LISP VER 2.0 - DEMO VERSION
Copyright (C) 1995
Sierra Hermitage
140 Mesa Vista Drive
Bishop, CA  93514
Phone 619-387-2479
E-mail hermit1@ix.netcom.com

Documentation:

RUN LISP is an AutoCad for Windows R12 or R13 and Windows 3.1/Win95/NT compatible program to facilitate batch processing of multiple drawings by running script files and AutoLisp programs across any number of drawing files.  This allows you to use simple script filess and AutoLisp programs to do batch processing of drawings to plot, purge and update drawings in any manner you wish.  You may also find RUN LISP useful in extracting entity data, blocks and other drawing information from multiple drawings or in creating renderings.  

Normally AutoLisp may not be used to process more that one drawing because AutoCad resets all AutoLisp programs and variable to nil each time it loads a new drawing and therefor terminates any running programs - including ADS programs.

RUN LISP solves this problem by allowing you to select any number of drawings and specify the script files and AutoLisp programs to be run within each.

Sample AutoLisp programs to plot, purge and more are included with the program.  Use these `as is' or as examples for your own programs.  Read the comment lines in these programs for insights into the simple requirements for RUN LISP compatible autolisp programming.

Version 2.0 provides the following features not found in Version 1.0:

	Select drawings from MULTIPLE subdirectories

	Select MULTIPLE autolisp programs from MULTIPLE subdirectories

	Specify values to respond to GETxxx functions contained in any 
	of the selected programs 

	Respond to user required input while entering the drawing

	Quickly create script type command without the need to prepare script files.



USING THE PROGRAM:

Autocad must be running prior to loading RUN LISP

Run RLISP12.EXE for R12 Acad/Win or RLISP13.EXE for R13 Acad/Win.

In the dialog box select the drive and directory of your drawing files and select the drawings to be processed.

Note:

	By holding down the SHIFT key you may select several contiguous
	drawings to process at once.

	By holding down the CTL key you may select several non-contiguous
	drawings to process at once.

Click on the ADD button below the DRAWINGS button.  If you are choosing from multiple subdirectories, you must click on the ADD button before changing to the next subdirectory.

Click on the AUTOLISP button.

In the dialog box select the drive and directory of your autolisp files and select the programs to be run in all the drawings.

Note:

	By holding down the SHIFT key you may select several contiguous
	drawings to process at once.

	By holding down the CTL key you may select several non-contiguous
	drawings to process at once.

Click on the ADD button below the AUTOLISP button.  If you are choosing from multiple subdirectories, you must click on the ADD button before changing to the next subdirectory.

To controll the order in which the autolisp programs are executed, click on ADD after selecting each one.

If you want RUN LISP to send values in reponse to GETxxx functions (input prompts) in your programs, select that program alone and then enter the values to be sent, in the order to be sent.  Click on the ADD button below the AUTOLISP program, at which point you can continue selecting programs.

Using the included EXESCR.LSP file you can also use the ability of RUN LISP to respond to input prompts to quickly create script type processing.  Simply select the drawings as usual, select EXESCR.LSP as the AutoLisp program and then type the script commands in the list box.  The format is exactly the same as normal scripts - ie: just the commands as you would type them at the AutoCad command line.  You may enter multiple commands on one line if you wish.  Be sure to press Enter after each command line - even the last one.  The last command must be ENDSCR (don't forget to press Enter).  You may use other AutoLisp programs in the same run as EXESCR.LSP if you wish.  If you would rather use script files check out RUNSCR.LSP

Your AutoLisp program should be the 'load and go' type - see the sample programs for examples.  If your program changes the drawing, be sure to also have it save the changes before exiting - see the sample autopurg.lsp for an example.  If your AutoLisp program makes any changes to the drawing (including zooms) it must also save the drawing, otherwise you will be prompted by a dialogue on each drawing to save/discard the changes.


RUN LISP assumes that when you load a drawing you enter the editor without the need for ANY user responses.  If your acad.lsp or menu.mnl files load any programs that require a response by you prior to starting the drawing editor, you must create a text file named RLISP2.INI in the same subdirectory as RUN LISP that contains each required responsed on a separate line.

If you use the sample AutoLisp programs be sure to read the associated text file first to determine any setup required before running the program.

AutoCad's systems variables CMDDIA and FILEDIA are set to zero by RUN LISP.  If you want file and dialog boxes, restore those variable settings by typing each of those variables at the command line and responding with 1 for their value after RUN LISP has completed its work.

To receive the registered version of RUN LISP, send US$25 plus US$5 shipping and handling (California residents add US$1.94 sale tax) to:

RUNLISP
Sierra Hermitage
140 Mesa Vista Drive
Bishop, CA  93514

Phone: 619-387-2479
Email:   hermit1@ix.netcom.com

Add US$10 for express shipping.

See RUNLISP.TXT for information on our other AutoCad automation programs.
