cyberdos Posted November 4, 2011 Posted November 4, 2011 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. Quote
cyberdos Posted November 4, 2011 Author Posted November 4, 2011 I found this which is what I want to do http://www.cadtutor.net/forum/showthread.php?28097-Open-Macro-Close-And-Then-Loop&highlight=batch+macro but can't figure out how to make the lisp in the second post work. Quote
Patrick Hughes Posted November 6, 2011 Posted November 6, 2011 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. Quote
BIGAL Posted November 7, 2011 Posted November 7, 2011 I knew I had seen this question elsewhere in the last week Lee's post try this http://lee-mac.com/scriptwriter.html Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.