I hope i can clear this up soon,
while working on a new file, which only has our 4 standard textstyles, something happened at some point during the work period where multiple textstyles named "AUDIT_1_12030....." and counting up appeared. over 40 of them.
they are all somehow embedded within the each object in the file, even lines, which confuses me. Noweven if i wanted to just copy most of the project excluding blocks, dims, leaders and text, (which was my original assumption that the textstyles were in there somewhere), I cant. I usually am able to remove unwanted textstyles through the TXTMRG LISP/VBA macro. It has no effect this time.
anyone have an idea how to fix this?
Thanks
Solved! Go to Solution.
Solved by abubakars. Go to Solution.
Solved by rkmcswain. Go to Solution.
Attached is an image of what appears in the textstyle manager and a sample file of what happens even if i just copy a line from the original file
SuperPurge was able to purge those styles, but no references were purged with them, so there is no way to really tell what is linked to those styles.
If WBLOCK does not work, then I would clean this drawing as best as possible, but DO NOT use anything from it ever again.
Make sure your templates are clean too so you can avoid this in the future.
One last note, your drawing contains a bunch of DGN linetype garbage too. This stuff will spread with copy+paste and pollute your DWG files also.
I saw also verry much anonymous blocks!
Maybe the textstyles are part of that blocks.
You only can puger tham whith SuperPurge:
As RK said, the drawing is riddled with extra garbage (probably from DGN export to DWG).
Other than superpurge, steps to fix would include, deleting all the anonymous blocks *A1 to *A302
After deleting those, then delete the related linetypes, then delete the extra text styles.
Kean has promised to fix his DGN cleanup tool. That might help but you will need to wait. Until then, you might try the following cautiously.
;;Extremely dangerous. Take care when using ;;D. C. Broad, Jr. - Not responsibe for loss of data (defun c:delblks (/ doc ) (setq doc (vla-get-activedocument (vlax-get-acad-object))) (vlax-for n (vla-get-blocks doc) (vlax-for i n ;;delete anonymous blocks references (if (and (= (vla-get-objectname i) "AcDbBlockReference") (wcmatch (vla-get-name i) "\*A*") ) (vla-delete i) ) ) ) (vlax-for n (vla-get-blocks doc) (if (wcmatch (vla-get-name n) "\*A*") (vl-catch-all-apply 'vla-delete (list n)) ) ) )
After loading and running that, you can purge the linetypes and then the text styles.
DGN linetype is the culprit, see the cleaning up process of your file using BatchInEditor in action, use it untill you get the fix from Autodesk
The tool is free and available http://www.cadmanagertools.com
I am trying to attach the video file but it terminates half way through
Ahh that makes sense now. I hadnt noticed the DGN linetypes. Someone put them in our standards for some reason. ill make the necessary adjustments. Thanks for the quick responses
That video was perfect. I just got back to a desk again and tried it. Works like a charm. Best response from anyone Ive seen on these forums. Thank you again