spittle Posted January 22, 2013 Posted January 22, 2013 (edited) Is this possible? The problem with the express tools is that they place these single line text objects into one MLtext which is not what I want. Edited January 22, 2013 by spittle Quote
ReMark Posted January 22, 2013 Posted January 22, 2013 Try the attached lisp and see if it does what you want. You can load it using the APPLOAD command and run it by typing t2m at the command line. Note: The routine was written by a member of the Cadalyst Discussion Forum who called himself "eee". The routine was posted in the forum on 4-26-05. TEST.LSP Quote
Organic Posted January 22, 2013 Posted January 22, 2013 This is the one I use. ; T2M - convert individual Texts/Dtexts to individual MTexts ; modified by Xanadu - www.xanadu.cz ; (defun C:T2M (/ ss i elist) (prompt "\nSelect Text objects to convert to MTexts: ") (setq ss (ssget (list (cons 0 "TEXT")))) (setq i -1) (if ss (repeat (sslength ss) (setq elist (cdr (assoc -1 (entget (ssname ss (setq i (1+ i))))))) (command "TXT2MTXT" elist ""); Express Tools command ) ) ) Quote
Dadgad Posted January 22, 2013 Posted January 22, 2013 I like T2M, the express tool too, as I really dislike using TEXT, but Spittle mentions in his first post that it is not really what he is after, as he wants to maintain them all as distinct MTEXT entities. Quote
ReMark Posted January 22, 2013 Posted January 22, 2013 The description for T2M uses the phrase "individual MTexts". Quote
Dadgad Posted January 22, 2013 Posted January 22, 2013 The description for T2M uses the phrase "individual MTexts". That it does, but in my experience, even using the Options at the commandline, it always creates a new single MTEXT, like in the image. Actually that is exactly what it does, it changes an individual text (or texts depending on your selection group) into a new individual MTEXT object. Quote
ReMark Posted January 22, 2013 Posted January 22, 2013 I did not test T2M as posted by Organic however I did test the routine I posted and it created individual MText objects. Quote
Dadgad Posted January 22, 2013 Posted January 22, 2013 (edited) Cool, then either Organic's offering or that should be the ticket for spittle, well done, and in that way different than the current express tool version, to which only spittle and I seem to be referring. Edited January 22, 2013 by Dadgad Quote
Organic Posted January 22, 2013 Posted January 22, 2013 The file I posted defiantly creates individual mtext entities from text entities. I.e. it doesn't combine them into one mtext entity like the express tools one does. It would have to be one of the lisp files I use the most. Quote
ReMark Posted January 22, 2013 Posted January 22, 2013 I think Dadgad got his lisp routines mixed up or he has been sitting in the sun too long and he was "blinded by the light, revved up like a deuce, another runner in the night...". Quote
Dadgad Posted January 22, 2013 Posted January 22, 2013 The file I posted defiantly creates individual mtext entities from text entities. I.e. it doesn't combine them into one mtext entity like the express tools one does. It would have to be one of the lisp files I use the most. Sorry about that Organic, I loaded neither of the ones you and ReMark posted, but I noticed that yours had Express Tools command at the end of it, and I erroneously assumed that you had gotten the actual lisp from the current Express Tool by that name. I stand corrected, no offense intended. 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.