I found this which is what I want to do
http://www.cadtutor.net/forum/showth...ht=batch+macro
but can't figure out how to make the lisp in the second post work.
Registered forum members do not see this ad.
Hello. I'm running ACAD Map 3D 2009. I have to run ONE custom macro on a number of drawings that are stored in a particular folder.
I'm not really familiar with LISP routines but can figure some of it out.
Basically all I need is to:
open
run custom macro
close
go on to next drawing.
Pretty simple. I just don't know how to write LISP.
Any help will be GREATLY appreciated.
I found this which is what I want to do
http://www.cadtutor.net/forum/showth...ht=batch+macro
but can't figure out how to make the lisp in the second post work.
Cyberdos,
The code in the second post is not lisp, it is VBA (VisualBasic for Applications) and it would need to be compiled into a program.
What you want to do is run your macro from a SCRIPT. Do you have the macro written? I've heard mention of something that comes with AutoCAD called ScriptPro that might do what you want.
If that doesn't work for you I have a bonus feature in my CadTempo time tracking program that allows you to easily create a batch script for all files in a directory. It is a new feature and not documented as yet, if you give it a try I'll gladly walk you through the steps.
The 30 day free trial would give you plenty of time to get your job done.
http://cadtempo.blogspot.com Visit my Blog!




Registered forum members do not see this ad.
I knew I had seen this question elsewhere in the last week Lee's post try this http://lee-mac.com/scriptwriter.html
A man who never made mistakes never made anything
Bookmarks