Jump to content

Recommended Posts

Posted (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 by spittle
Posted

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

Posted

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

Posted

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

Posted

The description for T2M uses the phrase "individual MTexts".

Posted
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. :beer:

t2m I believe it may.jpg

Posted

I did not test T2M as posted by Organic however I did test the routine I posted and it created individual MText objects.

Posted (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. :beer:

Edited by Dadgad
Posted

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.

Posted

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...".:lol:

Posted
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. :beer:

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...