Mtext in 2006
Mtext in 2006
(OP)
in 2005 the MText box would enlarge the text editor window to allow us to view and edit small sized font without having to zoom into a partiular area.
in 2006 the MText box is set up to type in the actual size text that will be placed in the drawing. has anyone had experience getting the editor to look like it did in 2005?
in 2006 the MText box is set up to type in the actual size text that will be placed in the drawing. has anyone had experience getting the editor to look like it did in 2005?





RE: Mtext in 2006
RE: Mtext in 2006
--------------------------------------------------------------------------------
Reply From: Tim Decker
Date: Apr/19/05 - 09:00 (EDT)
Re: mtext zoom
Not exactly, you can set your MTEXTED variable to "oldeditor", and it will
not use the in-place editor, but you will lose a lot of functionality in the
new editor. Alternately, I have been using this little ditty, it auto zooms
to the selected text before edit.
(defun C:TEDIT (/ SS NDX teditvt)
(setq *ERROR* NIL)
(defun *ERROR* (MSG)
(princ "error: ")
(princ MSG)
(progn
(setq SS NIL
NDX NIL
)
(command ".-view" "d" "tedit")
(setq *ERROR* NIL)
)
(princ)
)
(setq teditvt (getvar "vtenable"))
(setvar "vtenable" 0)
(setq NDX 0)
(setq SS (ssget))
(command ".-view" "s" "tedit")
(while (< NDX (sslength SS))
(command ".zoom" "o" (ssname ss ndx) "")
(command ".zoom" ".75x")
(command ".ddedit" (ssname SS NDX) "")
(setq NDX (1+ NDX))
)
(command ".-view" "r" "tedit")
(command ".-view" "d" "tedit")
(setvar "vtenable" teditvt)
(setq *ERROR* NIL)
(princ)
)