Community
AutoCAD LT Forum
Welcome to Autodesk’s AutoCAD LT Forums. Share your knowledge, ask questions, and explore popular AutoCAD LT topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Scripts using dtext

6 REPLIES 6
Reply
Message 1 of 7
Anonymous
1625 Views, 6 Replies

Scripts using dtext

I am trying to write a script using the dtext command, I can produce a script to enter the dtext command, text location, text size, rotation angle & actual text; but when it runs it pauses at the "enter text" line for it to be entered, after entering text (& pressing enter twice) the script continues. How do I force it to use text written in the code and carry on running the script? Any help would be appreciated.
6 REPLIES 6
Message 2 of 7
Anonymous
in reply to: Anonymous

Use the TEXT command instead of DTEXT.
___

"evysawn" wrote in message
news:f183e9d.-1@WebX.maYIadrTaRb...
> I am trying to write a script using the dtext command, I can produce a
script to enter the dtext command, text location, text size, rotation angle
& actual text; but when it runs it pauses at the "enter text" line for it to
be entered, after entering text (& pressing enter twice) the script
continues. How do I force it to use text written in the code and carry on
running the script? Any help would be appreciated.
Message 3 of 7
Anonymous
in reply to: Anonymous

I'm using AutoCAD LT 2011 and have the same problem with scripts.

Both DTEXT and TEXT commands stop and wait for keyboard

input and do not read the text from the script file.

Help me please! Thank you.

Message 4 of 7
pendean
in reply to: Anonymous

Post your code: be prepared to move away from scripts and into menu macros.

Message 5 of 7
Anonymous
in reply to: pendean

Simple code:

 

;

_text
j
mc
65,15
12
0
Hello Autodesk!

;

Message 6 of 7
pendean
in reply to: Anonymous

Seems to work just fine here.

Message 7 of 7
Anonymous
in reply to: pendean

pendean

Thanks!

You resolve my problem!

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

Post to forums  

Autodesk Design & Make Report

”Boost