Jump to content

Running a macro for multiple drawings


Recommended Posts

Posted

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. :cry:

 

Any help will be GREATLY appreciated.

Posted

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.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...