So I may have discovered the reason these blocks were causing AutoCAD to lag so much for me. I thought back to when I was modifying the geometry taken from the Visio stencils, and although I changed the layers of all the text and lines, I never altered the font of the text because it looked so similar to the writing on the I/O modules themselves. It turns out that this font (Calibri Light) is a Windows TTF font, which can apparently cause significant lag in AutoCAD.
To fix this, my initial method was to:
- Select an Mtext object, then SELECTSIMILAR to select all Mtext objects.
- Run EXPLODE on all Mtext objects to convert them to regular Text objects. (Unfortunately, this moves the justification of all of them to the standard bottom left, so I had to change the justification of several Text objects to Center and then re-align them.)
- Select a Text object, then SELECTSIMILAR again to select all Text objects.
- Change the Style of all Text objects to Standard.
Since I would have to apply this fix to several blocks, I looked for a quicker solution and found that someone created a lisp routine called StripMtext that allows you to remove various types of formatting from Mtext objects. I found the script for this routine online (link: https://ww3.cad.de/foren/ubb/uploads/cadffm/StripMtextv5-0f.lsp) and was able to copy it into Notepad and save it as a .lsp file. After running APPLOAD to load the routine into AutoCAD, I was able to shorten my method to the following:
- Select an Mtext object, then SELECTSIMILAR to select all Mtext objects.
- Run STRIPMTEXT command, only check Font for type of formatting to remove, and click OK.
In order to make the routine a permanent command in all drawings, after running APPLOAD, I had to click "Contents..." under Startup Suite, add the .lsp file, close out of the Startup Suite and Load/Unload Applications windows, and restart AutoCAD.
Applying this solution to the first couple of blocks I've tested seems to have resolved the issue since the blocks now import smoothly and do not cause any lag whatsoever after being added to the drawing. Hopefully this helps anyone who experiences similar problems with blocks creating lag caused by text fonts.