MTEXT Moving and Expanding

MTEXT Moving and Expanding

Anonymous
Not applicable
3,031 Views
12 Replies
Message 1 of 13

MTEXT Moving and Expanding

Anonymous
Not applicable

I recently switched from a very old version of CAD (2006) to a very new version (2022). I'm having an issue where my paper space text moves off the page and expands after working on a drawing for a while. I'm not yet sure what is causing this nor am I sure if just moving it back will fix the issue.  The other problem is that when it happens on one layout, it happens on all of them.  So to simply move things back and resize them will take a considerable amount of time.  Closing without saving or undoing doesn't seem to revert the problem either so once it happens, it's there no matter what I do.

 

Attached is a screenshot showing the issue. The black bars are the background masks.

Text Box.jpg

0 Likes
3,032 Views
12 Replies
Replies (12)
Message 2 of 13

pendean
Community Legend
Community Legend
Share a DWG file with that problem please.
And confirm with ABOUT command if you have the 2022.1 update installed or not.

0 Likes
Message 3 of 13

Anonymous
Not applicable

I have yet to register the new version of CAD.  Still using a trial version until then. Trial version is S.51.0.0.

Is that potentially a problem?  CAD file attached. Thanks for the quick reply.

0 Likes
Message 4 of 13

Patchy
Mentor
Mentor

Use STRIPMTEXT from the internet, then change the justification of the texts seems to bring them back.

Bring me back.JPG

0 Likes
Message 5 of 13

pendean
Community Legend
Community Legend
Thanks for the file.

Select only one of those MTEXT elements to see the problem: in the example I selected your paperspace mtext was top-right justified with a hard-set width of over 18-feet. Your sheet is only 36-inches wide.

It has been forever since I last used R2006 but I suspect you probably have/had this problem present there unless R2006 had some inherit flaw that masked it. Are you sure no "editing" or "chspace" had taken place just before you discovered it? I see a lot of merged xrefs in layer lists etc.

Either way, and as noted by others, you need to remove all the manual MTEXT overrides in place, only way to to do that is with an eternal LISP like this http://www.thecadcafe.com/2017/07/stripmtext.html

HTH
0 Likes
Message 6 of 13

Anonymous
Not applicable

Some background information. My previous workstation computer was at the point of failing on me so the office took preventative measures and got me a new one.  This was just  two days ago.  With that upgrade, I could no longer use the old 2006 CAD which, while it was doing mostly what I needed just fine, wasn't an option to put on the new machine. 

 

The old machine still runs and I still have access to it and it's files.  I did go back to the same file on that computer, and, yes some text is right justified, some is left, some is center. But the widths on those are only in inches. 1 to 5+ inches in most cases.  Certainly not 18 feet. And all this text was originally within the printable area until things seem to fall apart.

I transferred everything from the old machine to the new one and got to work after getting the trial version of CAD 2022.  I open the files and things look as they are supposed to for a while.  I can't even tell what's triggering the change.  Usually when I swap between viewports or, just recently, when I tried copy/pasting a viewport and its accompanying paper space text into a new layout.

 

I'm pretty methodical and can usually figure problems like this out, but this one is stumping me.

For reference, here's a screenshot of the PDF as one sheet looked (printed from the old machine):

Text.png

It isn't even all the text doing this.  Only things on the LS-PSPACE NOTES layer.  Title block and text in model space are all unaffected.

0 Likes
Message 7 of 13

Patchy
Mentor
Mentor

Copy all the FONTS from the old PC to the new PC and see because of the missing text styles.

0 Likes
Message 8 of 13

Anonymous
Not applicable

Thanks for the suggestion.  But I actually copied over all old fonts yesterday.  Given that this seems to only be affecting one layer only, perhaps the problem is in there?

 

I even tried opening up the file and changing the text style to something else and everything eventually fell apart anyway.

0 Likes
Message 9 of 13

Anonymous
Not applicable

A new development:  It seems copy/pasting the MTEXTs in question (ctrl+c > ctrl + v) causes the pasted version to suddenly become distorted and misplaced.  Normal COPY command doesn't cause this. Any idea why that would be happening?
See attached CAD file before things became distorted.  Is anyone able ctrl+c > ctrl + v the affected text and see a similar result?

0 Likes
Message 10 of 13

Anonymous
Not applicable

ANOTHER new development:
It seems to be a Dynamic Column issue. With MTEXTCOLUMNS set to (2) the default width for text boxes is 18+ feet and seems to apply to copy pasted text...sometimes.  Found this image on a post in CADTutor.net.  

DynamicColumn.jpg

Setting MTEXTCOLUMNS to value (0) allows me to "sometimes" copy paste.  But it isn't removing the problem entirely.  The act of copy/pasting seems to enable MTEXTCOLUMNS (2) on the pasted text and you get what started this whole thread.  It also doesn't fix the affected text.  Just doesn't keep their width hard-locked in the properties.

0 Likes
Message 11 of 13

Valentin_CAD
Mentor
Mentor

@Anonymous ,

 

Welcome to the AutoCAD Forum.

 


@Anonymous wrote:

...  Closing without saving or undoing doesn't seem to revert the problem either so once it happens, it's there no matter what I do.


Apart from all other suggestions, try the following:

  • Install the latest updates for the newer version of AutoCAD (see Install Updates, Add-ons, and Enhancements).
  • Repair the drawing in the older version of AutoCAD that is able to open it.

    1. Use the RECOVER or RECOVERALL command to open/repair the drawing.
    2. Run the AUDIT and PURGE commands.
    3. Run the OVERKILL command
    4. Run the -PURGE command
    5. Use the WBLOCK command to create a new DWG file.
  • Use the Convert DWG tool in DWG TrueView to convert the drawing to a newer file format that will let it open in a newer AutoCAD (see Using Autodesk DWG Trueview to Convert .dwg file version).

  • Insert the drawing in a default AutoCAD template using the INSERT command.

  • Upgrade to an even newer version of AutoCAD (or DWG TrueView). 

Also, try to RECOVER (the original files from 2006) in AutoCAD 2022. 



Select the "Mark as Solution" if my post solves your issue or answers your question.

Seleccione "Marcar como solución" si mi publicación resuelve o responde a su pregunta.


Emilio Valentin

0 Likes
Message 12 of 13

Anonymous
Not applicable

That didn't seem to help.  Seems the problem was that, when I started this file, I copy pasted some text from the architect we are working with.  I used it only on that layer but they had dynamic columns enabled in their text style.  CAD 2006 didn't support that setting so nothing moved when working in that file.  Changing the text style didn't do anything either.

 

My fix was to basically set dynamic columns to default to off and retype all of my affected paper space text. Turning the setting off doesn't retroactively change text that had it on so I just had to delete all of it and restart with my own.

0 Likes
Message 13 of 13

pendean
Community Legend
Community Legend
Find and use a freebie called STRIPMTEXT (I linked to it in my last reply to you) to fix all of your MTEXT in all of your layouts when QSAVE. Your issues appear to go away here in your sample file.

Repeat in those XREFs too.

We have no idea what you did in R2006 and very few of us still have that oldie around to diagnose the transition issues for you.

HTH
0 Likes