Disable Text Rotation

Disable Text Rotation

williamVC9FC
Observer Observer
1,422 Views
5 Replies
Message 1 of 6

Disable Text Rotation

williamVC9FC
Observer
Observer

Whenever I am in CAD and going to type out some text using the 'text' or 't' function, it always asks me for the rotation angle of the text, which I set to 0. Is there a way to disable/bypass that prompt so it never asks me what angle I want my text rotated? Given what I do in CAD, my text never needs to be rotated or read at any angle other than how English writing is traditionally read which is with no rotation and left to right. It always asks me and sometimes when I'm clicking fast it will sometimes set the rotation to 90 or some other angle without me noticing, obviously I can just click slower and be more precise but it would be nice just to never be prompted and not have to think about it. 

0 Likes
1,423 Views
5 Replies
Replies (5)
Message 2 of 6

nrz13
Advisor
Advisor

I assume you're using the TEXT command rather than MTEXT ("T" shortcut), as MTEXT doesn't ask for the rotation.  For TEXT, you can just hit enter/spacebar/right-click (assuming your right-click is set to this) to quickly go through the rest of the prompts.

If that doesn't work for you, you can create a custom .lisp like this:
(defun c:T ()(command "TEXT" PAUSE "" "")(princ))


Work:  AutoCAD 2022.1.3, Windows 10 Pro v22H2 64-bit, Intel Core i7-8700K, 32GB RAM, Samsung 960 Pro SSD, AMD Radeon Pro WX 5100, 3 Dell Monitors (3840x2160)
Home: AutoCAD 2022.1.3, Windows 10 Pro v22H2 64-bit, Intel Core i7-11700, 64GB RAM, Samsung 980 Pro SSD, NVIDIA Quadro P2200, Dell Monitor (3840x2160)
0 Likes
Message 3 of 6

pendean
Community Legend
Community Legend
Customize with LISP (if you prefer to type) or edit that button's macro to answer yes all of the time to avoid the question (well, you'd just always answer t as yes). Nothing core to the program switches that off unless you also just get in the habit of tapping<enter> an extra time as needed to get beyond the question asked.

How would you like to proceed?
0 Likes
Message 4 of 6

Kent1Cooper
Consultant
Consultant

@nrz13 wrote:

I assume you're using the TEXT command rather than MTEXT ("T" shortcut) ....

.... you can create a custom .lisp like this:
(defun c:T ()(command "TEXT" PAUSE "" "")(princ))


[T is the default command alias for Mtext, but they might have changed that to be for plain Text, in place of the TE default alias for that.]

 

Bear in mind that such a custom command would need to take into account, or you would need separate command definitions for, the difference between a Style with a fixed height and one without.  EDIT:  And it leaves you without the possibility of invoking the Justify or Style options -- you could call for one of those at the PAUSE point, but then it won't like multiple Enters "" as a response to its prompt.  To be able to use those options, you would need to type out TEXT for the native command or TE for the alias, rather than use the T custom command.  And that command name leaves Mtext in the lurch, if this takes over its T alias, so you might want to assign a different alias for it, or use its full name when that's what you want.

Kent Cooper, AIA
0 Likes
Message 5 of 6

nrz13
Advisor
Advisor

Yes, or pause to input height if not consistent.


Work:  AutoCAD 2022.1.3, Windows 10 Pro v22H2 64-bit, Intel Core i7-8700K, 32GB RAM, Samsung 960 Pro SSD, AMD Radeon Pro WX 5100, 3 Dell Monitors (3840x2160)
Home: AutoCAD 2022.1.3, Windows 10 Pro v22H2 64-bit, Intel Core i7-11700, 64GB RAM, Samsung 980 Pro SSD, NVIDIA Quadro P2200, Dell Monitor (3840x2160)
0 Likes
Message 6 of 6

gbattinPH5TG
Advocate
Advocate

Maybe this will help. But I set my mtext system variable in the command line MTEXTFIXED  to <0> zero

0 Likes