Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Simple Macro Question

3 REPLIES 3
Reply
Message 1 of 4
tmilligan
256 Views, 3 Replies

Simple Macro Question

Hi all....I have a problem with creating a simple macro in a ribbon panel. I just recently upgraded from AutoCAD 2008 to 2012 and am in the process of migrating some of my tools from 2008 to 2012. I'm having a problem with what I consider a simple command macro.

 

In 2008 I used this macro "*^C^C_attedit" to bring up the attribute edit dialog box and repeat the command until I hit escape. When I use the exact same macro in 2012 the macro defaults to the command line command "-attedit". If I remove the "*" the macro works, it just doesn't repeat. I've tried the macro in various forms:

*^C^C_attedit

*^C^Cattedit

*^C^C-attedit

all with the same result, I get the command line version. So far this is the first macro I've had problems. The other tools and lisp routines I've migrated over to 2012 worked just fine, but this one is stubborn.

 

Any help or suggestions would be greatly appreciated.

Thanks,

TonyM

3 REPLIES 3
Message 2 of 4
tcorey
in reply to: tmilligan

Hi Tony,

 

If you put ^C^C_multiple;attedit; as your macro it will use the dialog and will repeat.

 

Tim

 

Note: I use semi-colons instead of spaces because I can see them, but you can use spaces if you prefer.



Tim Corey
MicroCAD Training and Consulting, Inc.
Redding, CA
Autodesk Gold Reseller

New knowledge is the most valuable commodity on earth. -- Kurt Vonnegut
Message 3 of 4
tmilligan
in reply to: tcorey

Tim,

 

Thanks for the response and the suggestion. That seemed to work.

 

However, being the inquisitive kind, I would still ask if anyone knows why the old macro doesn't work?

Message 4 of 4
tcorey
in reply to: tmilligan

I don't know why.



Tim Corey
MicroCAD Training and Consulting, Inc.
Redding, CA
Autodesk Gold Reseller

New knowledge is the most valuable commodity on earth. -- Kurt Vonnegut

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost