Author Topic: Deleting font styles  (Read 4477 times)

0 Members and 1 Guest are viewing this topic.

jonesy

  • SuperMod
  • Seagull
  • Posts: 15568
Deleting font styles
« on: August 12, 2008, 04:01:11 AM »
I am currently "cleaning house" on a set of drawings before they get issued to a client.
These drawings SHOULD have just 2 text styles (apart from the one/two ACAD creates) I need to delete all the "extra" text styles. There are no drawing frames, so there are no "nested" fonts. I have used the QSelect to change all the text and the MText to the correct font, but there is still a long list of fonts that shouldnt be in the drawing, which I cant delete. How do I find out where the fonts are being used?

Many thanks in advance
T :-)
Thanks for explaining the word "many" to me, it means a lot.

Rob...

  • King Gator
  • Posts: 3824
  • Take a little time to stop and smell the roses.
Re: Deleting font styles
« Reply #1 on: August 12, 2008, 07:15:39 AM »
By fonts, I'm assuming your mean "Text Styles".

The text associated with those styles could be "hidden" in blocks, dimension styles, complex linetypes, even empty text objects. (Yes, some people still manage to make them.) I would start with blocking the drawing into a clean file. That will eliminate any empty text objects, blocks, and anything else you can't select using window selection. Check to see if those styles are still there. If so, begin checking dimension styles and any blocks that reside in the drawing.
CAD Tech

jonesy

  • SuperMod
  • Seagull
  • Posts: 15568
Re: Deleting font styles
« Reply #2 on: August 12, 2008, 07:28:27 AM »
Thanks for your reply Rob

I had already deleted the empty text strings, purged blocks etc. I'd not thought about the complex linestyles, so I shall go searching down that route.

Oh how I wish it were easy to track down the text styles :(
Thanks for explaining the word "many" to me, it means a lot.

Gliderider

  • Guest
Re: Deleting font styles
« Reply #3 on: August 12, 2008, 07:54:45 AM »
This may help, look here for Txtmrg
http://www.texupport.net/cadinfo/downloads/index.php

jonesy

  • SuperMod
  • Seagull
  • Posts: 15568
Re: Deleting font styles
« Reply #4 on: August 12, 2008, 08:00:50 AM »
Thanks for that link... looking into that now.

Thanks for explaining the word "many" to me, it means a lot.

Rob...

  • King Gator
  • Posts: 3824
  • Take a little time to stop and smell the roses.
Re: Deleting font styles
« Reply #5 on: August 12, 2008, 08:09:14 AM »
Holy cow. I feel like I just hit the motherlode. Awesome tools, thanks for sharing that link, lpseifert. I've suddenly come to the realization that I'm obsessively organized when it comes my drawing files.
CAD Tech

jonesy

  • SuperMod
  • Seagull
  • Posts: 15568
Re: Deleting font styles
« Reply #6 on: August 12, 2008, 10:33:29 AM »
After extensive digging around, I have now managed to delete the text styles that shouldnt be there.
It seems that it had something to do with the Mtext being "over-ridden". Once I had removed all the formatting from all the text I could delete the last 2 incorrect text styles. (I didnt think this would have anything to do with it)
Thanks for explaining the word "many" to me, it means a lot.

Hedgehog

  • Guest
Re: Deleting font styles
« Reply #7 on: August 12, 2008, 11:00:28 AM »
There's a routine called STRIPMTEXT.lsp (google-able) that can be used to selectively eliminate text formatting... I use it quite a bit  :-)

jonesy

  • SuperMod
  • Seagull
  • Posts: 15568
Re: Deleting font styles
« Reply #8 on: August 12, 2008, 11:49:50 AM »
There's a routine called STRIPMTEXT.lsp (google-able) that can be used to selectively eliminate text formatting... I use it quite a bit  :-)
Does that work in 2008. (or is it operator error)
I've tried to get it to load in my software and I keep getting an error
Quote
; error: bad argument type for compare: 17 15.0
Thanks for explaining the word "many" to me, it means a lot.

Hedgehog

  • Guest
Re: Deleting font styles
« Reply #9 on: August 12, 2008, 11:57:21 AM »
Ah... the version I have also has a .dcl file & I know works in 2007-2009... see attchment.

jonesy

  • SuperMod
  • Seagull
  • Posts: 15568
Re: Deleting font styles
« Reply #10 on: August 12, 2008, 12:02:15 PM »
Ah... the version I have also has a .dcl file & I know works in 2007-2009... see attchment.
Thanks Hedge... the version I found was version 2.1 and that wasnt working.
This one works great :)

Cheers
T :-)
Thanks for explaining the word "many" to me, it means a lot.

CHulse

  • Swamp Rat
  • Posts: 504
Re: Deleting font styles
« Reply #11 on: August 13, 2008, 09:14:32 AM »
I've suddenly come to the realization that I'm obsessively organized when it comes my drawing files.
Man after my own heart!
Cary Hulse
Urban Forestry Manager
Wetland Studies and Solutions

Civil 3D 2020 & 2023

CHulse

  • Swamp Rat
  • Posts: 504
Re: Deleting font styles
« Reply #12 on: August 13, 2008, 09:15:02 AM »
Cary Hulse
Urban Forestry Manager
Wetland Studies and Solutions

Civil 3D 2020 & 2023

T.Willey

  • Needs a day job
  • Posts: 5251
Re: Deleting font styles
« Reply #13 on: August 13, 2008, 11:25:45 AM »
There is also this file I did to merge text styles.  Just another way to skin the cat since you already found one that worked.

[ http://www.theswamp.org/index.php?topic=17659.0 ]
Tim

I don't want to ' end-up ', I want to ' become '. - Me

Please think about donating if this post helped you.

jonesy

  • SuperMod
  • Seagull
  • Posts: 15568
Re: Deleting font styles
« Reply #14 on: August 13, 2008, 04:13:07 PM »
Thanks Tim
I'll take a look at that too... Looks like it could be very useful as I have loads of drawings to go through
Thanks for explaining the word "many" to me, it means a lot.