PDA

View Full Version : Button macro works in 14 but not in 2000


VERYCIVILDRAFTER
17-09-2004, 09:10 PM
I have a Release 14 custom button macro that inserts a predetermined string of text after I pick an insert and rotation.

Problem is, I tried to make the same button for 2000 and it doesn't work.

here's my button macro
'^C^CTEXT;\\EX. 8" SAN;

AutoCAD gives me an error :? "Your Head Asplode!" :? "All your base are belong to us!" or
Unknown command "EX. 8" SAN". Press F1 for help

So what's the proper syntax for 2000?


Anybody else notice we've had lots of toolbar questions lately?

YosSa
20-09-2004, 07:39 AM
I never heard of EX.8 ..
Is it a text style you used to use ??
And now it isnt there anymore ??

architech
20-09-2004, 02:09 PM
Try this ....

^C^Ctext;\\0;ex. 8" SAN;



Hope this helps. :mrgreen:

VERYCIVILDRAFTER
20-09-2004, 02:44 PM
Sorry YosSa... I wasn't very clear, I can see how that was misleading.
"EX.8" just part of the Single Line Text that is inserted into the drawing.
(EX. 8" SAN) = Existing Eight Inch Sanitary Sewer Pipe.

architech
Thanks, I'll try it when I get to work... What's the 0; going to do??

architech
20-09-2004, 04:53 PM
Try this ....

^C^Ctext;\\0;ex. 8" SAN;



Hope this helps. :mrgreen:

The zero specifies the rotation.


If you don't want a rotation ... then try this ....

^C^Ctext;\\\ex. 8" SAN;

Later guy 8)

VERYCIVILDRAFTER
20-09-2004, 11:31 PM
architech

We weren’t able to get either of those to work. :?

It hangs on ENTER TEXT:


Well anyway I'm doing this for a friend and I just don't really care anymore.
I’m guessing the problem is 2000 is a HOT STEAMING PILE OF :x

YosSa
21-09-2004, 10:05 AM
what if you replace the \ by ;

architech
22-09-2004, 10:56 AM
I think your friend wrote the syntax incorrectly, because the button works fine in AutoCAD 2002. At least the one I created.

Oh well. :?

VERYCIVILDRAFTER
22-09-2004, 05:53 PM
architech

Well the original syntax was correct. My friend tried it in 2005 and it worked just fine, too.

It looks like my suspicions about 2000 have been confirmed. Stinking pile indeed... indeed.


ON A SIDE NOTE:
:D Thanks for always trying (99% successfully) to answer questions architech. You practically keep this site afloat. :D

architech
24-09-2004, 12:08 AM
:oops: Thanks! ::thumbs :

And that ain't true about me & the site ... it's always been a team effort from all of you & the other moderators. :P

Later guy.