PDA

View Full Version : Ver. 2004---Record long sequence of commands



ajs
27th Oct 2007, 06:56 am
Does anyone have any experience or can they recommend a macro recorder that works well with Autocad?

I have a long sequence of commands for importing a series of dxf files from another program.

In the future I plan on learning how to write LISPS and VBA scripts specific to AutoCad but for right now, I'd like to just record the command sequence. I know there are many 3rd party recorders out there but I was hoping someone knew of one that was designed for AutoCad

I don't need anything fancy, just a basic recorder with (hopefully) some setup info

Thank you

---AJS

Alan Cullen
27th Oct 2007, 07:15 am
I've never used this, but you might like to do a search for scripts. From what I understand, scripts could be what you are after.

ajs
27th Oct 2007, 03:11 pm
Thanks for responding. I did look into scripts but what I read was that one of their limitations was that you couldn't navigate a dialog box with the script creator.

Perhaps this is outdated info? Does anyone have any experience in script creation?

Unfortunately, my command sequence requires me to repeatedly navigate the filter dialog box.

I've already done a test and I am able to perform the entire sequence from the keyboard; the filter dialog can be navigated using Alt key (ex: Alt A ) "Enter", and the up, down, left and right arrow keys.

I've created other macros in other programs that navigate dialog boxes so I know that this type of macro works

I did find one recorder that stated that it was specifically designed for AutoCad but it had a lot of bells and whistles and it was a little spendy: 200.00 I think.

As I said earlier, I was hoping to find a basic recorder that was tailored to AutoCad.

(I did find a couple of freeware utilities but they were designed for earlier versions of AutoCad)

Thanks again,

---AJ

Alan Cullen
28th Oct 2007, 01:33 am
One of the reasons we all keep learning here, is because of situations like I just went through.

I had to do a quick learn on scripts and test to answer you. This is what I came up with:

A quick test to select and delete a line on a particular layer useing FILTER transparently. The script:

erase 'filter

and it worked fine. That may get you started. :D