CADTutor: The best free help for AutoCAD on the web

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
Go Back   AutoCAD Forums > AutoCAD > AutoLISP, VBA, the CUI & Customisation

Reply
 
Thread Tools
Old 4th Nov 2009, 08:51 pm   #1
Small Fish
Senior Member
 
Small Fish's Avatar
 
Using: AutoCAD 2008
 
Join Date: May 2009
Location: Tauranga, New Zealand
Posts: 124
Default Command line info

Hi
probably an easy one.....
When I use the command mtext in my code
for example:

(command "Mtext" pt1 "_Justify" TL "HEIGHT" #TxtHgt pt3)

I always get this annoying returned message in the command line.
How can I not show this:

Current text style: "STANDARD" Text height: 55.0000

Cmdecho is set to 0

thanks
Small Fish is offline   Reply With Quote
Old 4th Nov 2009, 09:43 pm   #2
Freerefill
Senior Member
 
Using: Map 3D 2008
 
Join Date: Apr 2009
Location: The one after 909
Posts: 306
Default

The only two tricks I use to get rid of prompts like that is setting cmdecho to 0 and/or nomutt to 1. Neither seemed to work. I did have the same issue before with MText and I couldn't get rid of that prompt. It might be that you simply cannot.

~* And, in the end, the love you take *~
~* Is equal to the love you make *~
- The Beatles -


GrPlayground
/ Text Find/Replace / Batch Engine
Freerefill is offline   Reply With Quote
Old 5th Nov 2009, 05:00 pm   #3
jalucerol
Full Member
 
jalucerol's Avatar
 
Using: AutoCAD 2010
 
Join Date: Oct 2009
Location: Mendoza, Argentina
Posts: 31
Default

sure there is'nt a system variable to enable or disable the mtext behaviour?
jalucerol is offline   Reply With Quote
Old 5th Nov 2009, 05:03 pm   #4
alanjt
Super Member
 
alanjt's Avatar
 
Using: Civil 3D 2009
 
Join Date: Apr 2008
Posts: 1,488
Default

It can only be suppressed by changing the nomutt system variable.

Seann: ...it went crazy ex-girlfriend on me...
eric_monceaux...
its pretty funny seeing two AutoCAD Gods give each other flak...
alanjt is offline   Reply With Quote
Old 5th Nov 2009, 05:04 pm   #5
alanjt
Super Member
 
alanjt's Avatar
 
Using: Civil 3D 2009
 
Join Date: Apr 2008
Posts: 1,488
Default

You can use this:

http://www.cadtutor.net/forum/showpo...5&postcount=40

Seann: ...it went crazy ex-girlfriend on me...
eric_monceaux...
its pretty funny seeing two AutoCAD Gods give each other flak...
alanjt is offline   Reply With Quote
Old 6th Nov 2009, 02:00 am   #6
Small Fish
Senior Member
 
Small Fish's Avatar
 
Using: AutoCAD 2008
 
Join Date: May 2009
Location: Tauranga, New Zealand
Posts: 124
Default

Thanks Alan - yes that is good. I am just curious about what the 'AT' means in
(defun AT: ???
Small Fish is offline   Reply With Quote
Old 6th Nov 2009, 02:11 am   #7
alanjt
Super Member
 
alanjt's Avatar
 
Using: Civil 3D 2009
 
Join Date: Apr 2008
Posts: 1,488
Default

Quote:
Originally Posted by Small Fish View Post
Thanks Alan - yes that is good. I am just curious about what the 'AT' means in
(defun AT: ???
Just a nice alternative to worrying with the command.

I prefix subroutines I write with AT: to stay organized. Plus I can filter them out if needed easier from (atoms-family 1).
AT: = Alan Thompson

You can also do (vla-put-rotation (AT:MText......) radians).

Seann: ...it went crazy ex-girlfriend on me...
eric_monceaux...
its pretty funny seeing two AutoCAD Gods give each other flak...
alanjt is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Create a command name for new buttons to type into the command line? DWG Destroyer AutoLISP, VBA, the CUI & Customisation 8 25th Jul 2009 10:28 am
v 2009 Problems printing blank line to command line ajs AutoLISP, VBA, the CUI & Customisation 1 7th Jul 2009 04:59 am
UCS and BASE command info needed Bruce G Jackson AutoCAD Beginners' Area 1 8th Jun 2009 04:50 pm
OTRACK command fails when using floating command line Autodesk AutoCAD RSS Feeds 0 3rd Feb 2007 02:40 am
Command Macro Gets Layer/Linetype Info Dan AutoCAD Drawing Management & Output 5 21st Aug 2006 07:54 pm

Why Donate?


All times are GMT +1. The time now is 11:20 am.

RSS Feed for AutoCAD ForumsValid XHTML 1.0!Valid CSS!Creative Commons Licence