CAB Posted March 21, 2008 Posted March 21, 2008 Hedgehog - Yeah, does same thing in any drawing. FYI I'm importing text from a PDF that places the formatting codes in there. CAB - Your STRIPPER does the same thing.?! Which leads me to believe it's an installation problem. This IS a new install of AutoCAD2008 and I DID do a registry clean the other day, so...... I'll do an uninstall and reinstall of AutoCAD and see what happens. Thanks for trying to help. I'll let you know what happens. Gary Try this revised test routine after you load my lisp. (defun c:stest(/ esel obj text result) (vl-load-com) (setq esel (car (entsel "\nSelect Text : "))) (setq obj (vlax-ename->vla-object esel) text (vla-get-textstring obj)) (setq result (strip_text text "*")) ) Quote
gpetty46 Posted March 22, 2008 Posted March 22, 2008 As I suspected, a reinstall of AutoCAD did the trick. StripMtext.lsp works as advertized. CAB - I'll mess around with your routine later when I have a bit more time and let you know what happens. Private mail if you prefer. Thanks both of you for caring so much, Gary Quote
oktapod Posted June 27, 2011 Posted June 27, 2011 Je i madh. Faleminderit. I usually just explode the mtext. Use match properties to the format I want then recombine the text entities. Quote
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.