Duane Brown

AutoCAD MTEXT object causes excessive sluggishness / Crashing

issue:
singular large MTEXT object causing extreme performance degradation. The Text originates from a Word Doc, or from Notepad.

system: (varies)
XP, VISTA, WIN 7
32 bit and 64 bit
4 GB to 12GB RAM

Resolution:
The paste special to text worked so much better than pasting it into MText.

Research:
—part 1—

For a complex page composition sample like this, the video driver has to be optimized, the font has to be supported and Word’s export converter, mswrd632.wpc needs to be functioning correctly in order to paste the contents into a single Mtext block in AutoCAD and maintain expected performance.
On a 32-bit version of Win XP, I was able to reproduce the appearance of all the text as shown in Word by pasting special as AutoCAD entities in AutoCAD 2010. There was no delay as the cursor moved over the text or selected individual text lines. There were a few lines of text that were overlapping that needed adjustment. All text was single line or Dtext that is searchable and editable in AutoCAD
When I attempted to paste directly into AutoCAD as an OLE object from the clipboard, I received an alert message that ‘Word cannot start the converter mswrd632.wpc’. This message is caused by a security update from December 8, 2009. The OLE paste completed and I still didn’t have any delays in AutoCAD.
I then tested copying all three columns from Word that caused a slight delay in the Mtext editor. When I pasted one column into an Mtext block, there was no appreciable delay in the editor or after existing the Mtext editor.
Also, I noticed that the driver version 7.15.11.8246 is not listed in our Graphics Hardware List. That specific Quadro NVS 295 graphics card model is not listed among those tested by NVIDIA for use with AutoCAD. The nearest model in the list is an NVIDIA Quadro NVS 290 that recommends a non-certified driver version 8.16.0011.9166.
So, in summary, if you need the exact text appearance and fastest response, use the Paste Special as AutoCAD entities method. With the minor adjustments in text position, that will give the best performance.

—Research part 2—

The lengthy delay when editing the text that has been pasted into an MText block is caused by processing the complex formatting of the text from the Word document.
You’ll notice the message in the bottom left “Please wait, formatting text” as you resize columns or make any other significant changes like that.
AutoCAD is not optimized to perform full page text composition like Word can. The tests I described were based on the recognition of this, having attempted editing multi-column formatted text from external sources before. To be clear, I avoided this in the suggestions I last sent.
If you really need to maintain all the text in an Mtext multi-column text block then either create all the text in AutoCAD, or if you paste from Word or other external source, then select all the text, press Ctrl+Space to remove all character formatting, then the lengthy formatting process would be reduced and there would be far less delay.
Note: Ctrl+Space is a shortcut to remove character formatting. You can also select the text, right-click to ‘Remove Formatting’ and choose three options for removing formatting.
You can further increase response for this amount of formatted text once you have the appearance you need by exploding the Mtext block into Dtext.
I have attached a sample of this text block in a drawing ‘Sample pasted exploded.dwg’ that has been exploded after adjusting the columns as needed. To make adjusting the Mtext columns to match their appearance in Word easier, I changed the color of the text for columns one and three to reduce the need to zoom in and out as much.

Leave a comment