Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Convert Multiple DTEXT objects to MTEXT Objects

dtucker
Enthusiast

Convert Multiple DTEXT objects to MTEXT Objects

dtucker
Enthusiast
Enthusiast

I need to convert a couple hundred individual DTEXT strings into individual MTEXT strings. I know to use the Express Tools command, but the only way I can see to do this is one text string at a time.

 

Is there another way to accomplish this?

 

Thanks,

Dan

0 Me gusta
Responder
Soluciones aceptadas (1)
707 Vistas
5 Respuestas
Respuestas (5)

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

You can select the text objects using normal selection like window or crossing (or fence or ..), so no need to click any single text object with a single click.

 

>> into individual MTEXT strings

That can't be done automatically as AutoCAD does not know with text objects belong together and which one should be appended to another MTEXT object.

If you have 100 text objects and from them there should be 12 mtext objects created ... what is the rule which ones belong together?

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2025
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Me gusta

Kent1Cooper
Consultant
Consultant

Try Text1MtextJust2.lsp with its T1MJ command, available here.  Its primary purpose was about preserving justification in a way that TXT2MTXT does not, but to do so, it does all selected Text objects individually.

Kent Cooper, AIA
0 Me gusta

dbroad
Mentor
Mentor
Solución aceptada

The only point, it seems to me, in converting dtext to mtext is to group the lines of dtext that are related to one another into a paragraph.  Just changing a single line dtext to a single line mtext has little point.  To correctly group the text objects to form paragraphs requires interaction by the user who understands what is being said.  Perhaps IBM's Watson can be given that task but I doubt that automating it would be an efficient use of time.

Architect, Registered NC, VA, SC, & GA.
0 Me gusta

Kent1Cooper
Consultant
Consultant

@Anonymous wrote:

The only point, it seems to me, in converting dtext to mtext is to group the lines of dtext that are related to one another into a paragraph.  Just changing a single line dtext to a single line mtext has little point.  ....


... unless you want to be able to have stacked fractions in it, or want to change the color or font or height or italicization [is that a word?] of a portion of it, or....

Kent Cooper, AIA

dbroad
Mentor
Mentor

True.  I generally avoid all those options, believing that text is more readable without stacked fractions, special colors, or special embedded fonts.  If that level of individual control is desired however, converting dtext to mext automatically is the least of his worries and the least possible to automate.

Architect, Registered NC, VA, SC, & GA.
0 Me gusta