Guest REIVAX Posted May 29, 2003 Share Posted May 29, 2003 I'm trying to find a why to convert something I've typed out in lower case. I would like to have it all in capital letters, but I don't want to retype it all out again. I'm using R14. please help and thanks in advance. Quote Link to comment Share on other sites More sharing options...
fuccaro Posted May 30, 2003 Share Posted May 30, 2003 My short answer: export the text in an ASCII file, use a text editor to convert it and re-import the changed text. In the AutoLISP section there is an export routine. The longer answer: for direct conversion -right in the DWG- you may use this routine. ; UPPERCASE for text and mtext (defun c:case( / enl) (setq enl (entget (car (entsel "\nselect (m)text"))) enl (subst (cons 1 (strcase (cdr (assoc 1 enl)))) (assoc 1 enl) enl)) (entmod enl) (princ) ) If you do not know the way to load and start lisp routines you also may check the Forum. Or return with a request for more info and I will be happy to do my best to help you. Quote Link to comment Share on other sites More sharing options...
hyposmurf Posted June 1, 2003 Share Posted June 1, 2003 I'm trying to find a why to convert something I've typed out in lower case. I would like to have it all in capital letters, but I don't want to retype it all out again. I'm using R14. please help and thanks in advance. You didnt say whether you were talking about mtext or single line text.A way you edit mtext,that works in CAD 2K(not sure if it works for R14) is to bring up the multiline text editor by typing ED at the command line and selecting the text.Then select the text within the this multiline text editor,right click and choose change case.Pick which ever option you require,upper or lower case.This will only work for mtext not single line text,don't use single line text myself as its harder to manipulate. Quote Link to comment Share on other sites More sharing options...
CADTutor Posted June 2, 2003 Share Posted June 2, 2003 hyposmurf - that's such a good tip, I thought it was worth an image: For old AutoCAD users like me, right-clicking is a constant revelation (maybe you feel the same way fuccaro :wink: ) Quote Link to comment Share on other sites More sharing options...
fuccaro Posted June 2, 2003 Share Posted June 2, 2003 You are the winner CADTutor! Are you sure that this will work in AutoCAD R14? And how about the TEXTs? -I have only AutoCAD 2000 so I can not test it in other relases. I wrote the routine some time ago when learning the Lisp. From now I will right click before and after any command and I will try if the transparent mode is working (like ' right-click) Quote Link to comment Share on other sites More sharing options...
CADTutor Posted June 2, 2003 Share Posted June 2, 2003 I haven't been able to check if this will work in R14 but as far as I am aware, MTEXT was pretty much unchanged between R14 and 2000. Perhaps REIVAX could let us know. Quote Link to comment Share on other sites More sharing options...
Guest REIVAX Posted June 9, 2003 Share Posted June 9, 2003 sorry for the delay I've tried dtext & mtext on R14 and it doesn't work Quote Link to comment Share on other sites More sharing options...
Guest REIVAX Posted June 9, 2003 Share Posted June 9, 2003 and for hyposmurf it was originally typed out in dtext but if I could find a way for both dtext and mtext for R14 that would be great. Fuccaro thanks i'lltry the lisp program Quote Link to comment Share on other sites More sharing options...
hyposmurf Posted June 9, 2003 Share Posted June 9, 2003 sorry for the delay I've tried dtext & mtext on R14 and it doesn't work Yeh that method I described is only for the following versions: AutoCAD 2002 AutoCAD 2000i AutoCAD 2000 AutoCAD LT 2002 Possibly AutoCAD 2004 too but no R14 sorry,there must be another way. Quote Link to comment Share on other sites More sharing options...
hyposmurf Posted June 13, 2003 Share Posted June 13, 2003 I think Ive cracked it !How good is your spanish though ?I found this site that lists a command called TCASE thats found within the express tools within R14.Have a look and tell me what you think,I dont have access to R14 myself. http://www.arquinstal.net/boletines/arquitectools6.htm Quote Link to comment Share on other sites More sharing options...
au-s Posted January 13, 2009 Share Posted January 13, 2009 My short answer: export the text in an ASCII file, use a text editor to convert it and re-import the changed text. In the AutoLISP section there is an export routine.The longer answer: for direct conversion -right in the DWG- you may use this routine. ; UPPERCASE for text and mtext (defun c:case( / enl) (setq enl (entget (car (entsel "\nselect (m)text"))) enl (subst (cons 1 (strcase (cdr (assoc 1 enl)))) (assoc 1 enl) enl)) (entmod enl) (princ) ) Is that a way of selecting more objects? With a window and/or pick more objects... Im not good at this but maybe with ssget? I tried to change a bit but with no success thanx Quote Link to comment Share on other sites More sharing options...
dbroada Posted January 13, 2009 Share Posted January 13, 2009 you do realise that thread is over 5 years old. In that time things move along. The simplest way to change case now is by using the built in express tool which allows large selections. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.