View Full Version : Button Macro Help
ahefner
2007-07-17, 05:14 PM
I'm trying to use the following line in my button macro and it hangs after "E:" any suggestions?
-INSERT;"E:\2007.000.000\2007.012.xxx\_Elec Auto\BHB-LOGO.dwg";0,0;;;
From command promt after running
Command: -INSERT
Enter block name or [?]: "E:*Cancel*
Mike_R
2007-07-17, 06:33 PM
I'm trying to use the following line in my button macro and it hangs after "E:" any suggestions?
-INSERT;"E:\2007.000.000\2007.012.xxx\_Elec Auto\BHB-LOGO.dwg";0,0;;;
From command promt after running
Command: -INSERT
Enter block name or [?]: "E:*Cancel*
Autocad interprets the "\" character as a "pause for user input". In other words, after that E: it's waiting for you to tell it what to do next. If you change the "\" into "/" throughout the whole string, it should help.
I'm trying to use the following line in my button macro and it hangs after "E:" any suggestions?
-INSERT;"E:\2007.000.000\2007.012.xxx\_Elec Auto\BHB-LOGO.dwg";0,0;;;
From command promt after running
Command: -INSERT
Enter block name or [?]: "E:*Cancel*
In macros the backslash works as a pause, so use forward slashes instead of backslashes in file names. And you need to watch how many arguments that are needed (I think you are missing a semicolon at the end).
HTH
Autocad interprets the "\" character as a "pause for user input". In other words, after that E: it's waiting for you to tell it what to do next. If you change the "\" into "/" throughout the whole string, it should help.
Dang, you beat me to it. :p
ahefner
2007-07-17, 06:44 PM
Thanks fellas, I knew it had to be something easy.
Mike_R
2007-07-17, 07:10 PM
Dang, you beat me to it. :p
Early bird catches the worms? ;)
Thanks fellas, I knew it had to be something easy.
Anytime Hef. :D
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.