Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mtext in 2006 1

Status
Not open for further replies.

mrspetos

Industrial
May 19, 2004
42
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?

 
Replies continue below

Recommended for you

I know in 2004 & 2005 you could hold ctrl and roll the mouse wheel while in the mtext window, and it would zoom in and out of the text. Don't know about 2006, because I don't have it installed yet, but you could try.
 
Found this in another forum.


--------------------------------------------------------------------------------

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)
)


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor