Jump to content

lisp to change font of text that isn't in text style


Recommended Posts

Posted

does anybody know of any lisps that can change the font of text which isn't set as text style? I've found a few lisps which changes the font of text that has been set as a text style but none that can change text that isn't set to a style.

if you check the attachment, the note there has 2 fonts in it. i'd like to find a way to change the font to all calibri without actually going into the text and highlighting (that would be quite time consuming if there are lots of notes to change)

example.dwg

Posted

When I open it, it says the Style is Standard? That being the case, I selected it all, and changed it in quick properties.

 

On Lee Mac's site, he has a bunch of great text magic lisps.

If you check them out, I am sure you will find one that will work for you.

 

http://www.lee-mac.com/programs.html#general

 

Thanks Lee! :beer:

 

Or you could use QUICK SELECT. or SELECT SIMILAR, to quickly identify and process the text styles independently.

Posted

how would you use quick select / select similar to change multiple text items like on the attached file? can't see any option to select objects by font type..

 

i have had a thorough look thru lee mac's lisps which have come to the rescue in the past. can't find any that can actually change all the fonts properly

example.dwg

Posted

in case anyone is wondering, i finally found a decent way do it using lisp called stripmtext i found here:

http://cadsetterout.com/resources/stripmtext-lisp/

 

it removes any unnecessary formatting and changes all the selected text to be as per the font in the text style

Posted
how would you use quick select / select similar to change multiple text items like on the attached file? can't see any option to select objects by font type..

 

i have had a thorough look thru lee mac's lisps which have come to the rescue in the past. can't find any that can actually change all the fonts properly

 

Glad you were able to find a solution. I am very busy, and didn't try to, but if they are incapable of it, almost certainly the much older, and less user friendly FILTER command could do it.

 

But if you now have a good lisp solution in hand, then thanks to the Cad setter out, and get back to work! :Pbeer:

Posted

i used autocad for a few years 4-5 years, then switched to vectorworks for about 10 years and about a year ago i've had to get back onto autocad again. theres so many commands which i've forgotten about! (filter being one of them haha)

filter seems to have more selection options than other commands i've seen but still no select by font option..

i understand you are busy and I have this issue sorted now but i'm curious to see how you would do it via the filter command? would you be able to let me know if you get a chance? Or anyone else who might know how to do it that way also.. no rush

filter.jpg

Posted
> Text Style Name

 

what does this mean exactly? if part of the mtext is set to a text style and the other part has had the font manually changed, the text style wont update the manually changed text.. that just stays to whatever font was selected. (unless you actually go into the text and highlight before selecting text style, which i want to avoid because that is very time consuming if there is lots of text to fix.

 

i really cant believe something like updating font would be so difficult! there should be an option to change the font through properties..

Posted

I was referring to one of the items in the dropdown list in your image. The obvious conclusion: Filtering for text style names is possible. But I now realise that is not your problem. Mtexts are a different story, to remove mtext formatting try using StripMtext.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...