Macro recorder

Macro recorder

Anonymous
Not applicable
2,157 Views
6 Replies
Message 1 of 7

Macro recorder

Anonymous
Not applicable
Hello Joe Sutphin,

I was trying to use the macro recorder that you have created, but have unfortunately run into trouble. This is mainly because I have never run macros before in CAD.

After I load the .dvb project in the VBA Manager I am unable to see any macro in the Macro Window. I was wondering if I am doing something wrong.

Your help is really appreciated.

Thanks
0 Likes
2,158 Views
6 Replies
Replies (6)
Message 2 of 7

Anonymous
Not applicable
Start the recorder by typing VBARUN on the command line. Then select the
"Record" macro in the list.

Next, do something like draw a circle or line. When you have completed the
drawing of an entity, a dialog box will popup asking you for a macro name.
Give it some name Line1 or Circle1 or whatever you want.

Once you click on OK the macro [source code] to recreate the entity you just
drew is created in the NewMacros module.

That's pretty much it. I have attached the original file in case you have
gotten hold of a bogus one. I ran this morning and it seems to work just
fine.

Joe
--

wrote in message news:5200636@discussion.autodesk.com...
Hello Joe Sutphin,

I was trying to use the macro recorder that you have created, but have
unfortunately run into trouble. This is mainly because I have never run
macros before in CAD.

After I load the .dvb project in the VBA Manager I am unable to see any
macro in the Macro Window. I was wondering if I am doing something wrong.

Your help is really appreciated.

Thanks
0 Likes
Message 3 of 7

Anonymous
Not applicable
Hello Joe,

I have a question. I'm doing something wrong or your macro only records one instruction?

Do you know the way to record a sequence of actions made?

Thanks a lot!!
Francesc
0 Likes
Message 4 of 7

Anonymous
Not applicable
Hi Joe:

I have a question. Where am I suppose to put the file FreeVBAMacroRecorder.zip?

Please help me out.

Thank you.

Diana.
0 Likes
Message 5 of 7

Anonymous
Not applicable
Hi Diana,

You need to save the .DVB file contained in the .ZIP somewhere on your hard
drive [perhaps in an AutoCAD support folder]. Then load it like any other
DVB file and execute it. HTH, let me know if you need anything further by
either replying to the newsgroup or email me directly.

Joe ...

wrote in message news:5617329@discussion.autodesk.com...
Hi Joe:

I have a question. Where am I suppose to put the file
FreeVBAMacroRecorder.zip?

Please help me out.

Thank you.

Diana.
0 Likes
Message 6 of 7

Anonymous
Not applicable
Hi Joe,

Maybe this is an ever repeated question, but it looks that your macro allows for only one command before it asks for the name of the generated macro and then exits. Please confirm, and if so, would you please expand it so that it could cover an indefinite number of commands?

Thanks and best regards,

Amine Salameh, CEng, MIWO
0 Likes
Message 7 of 7

Anonymous
Not applicable

Sorry, I have not dealt with the recorder for quite
awhile now. However, it does seem to be working properly from the behavior you
describe.

 

Additionally, I don't have any plans to work
on it as I'm extremely busy with .NET projects.

 

Joe ...

 

 


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Hi
Joe, Maybe this is an ever repeated question, but it looks that your macro
allows for only one command before it asks for the name of the generated macro
and then exits. Please confirm, and if so, would you please expand it so that
it could cover an indefinite number of commands? Thanks and best regards,
Amine Salameh, CEng, MIWO
0 Likes