PDA

View Full Version : Changing Font Widths


workster
30-08-2004, 05:38 AM
Hi All,

Can anyone tell me a command line way off changing all font widths in a drawing at once. I know you can do using properties once all is selected, but I am trying to automate things via simple scripts!

Cheers....

architech
30-08-2004, 01:04 PM
Try "list" ... find out what the text "style" is ....
Then type style
Hit the enter key
skroll down to find the listed style & highlight it ....
now click the width box and adjust accordingly ...
click apply ... and your done


Hope that helps. :wink:

VERYCIVILDRAFTER
30-08-2004, 04:16 PM
I don't know if you have "CHT" or maybe "chtext" in AutoCAD 2002 (I use 14) but if you have your heart set on using only the keyboard... Try those two commands. "CHT" was(is) an old bonus tool in 14. I think :? "chtext" was a lisp or express tool for 2000 that was very similar to CHT.

Detailed use: what you type = {inbold}

{CHT }
Select annotation objects to change.
Select objects: {ALL }
## found

Select objects: {(enter)}

Height/Justification/Location/Rotation/Style/Text/Undo/Width: {W }

New width factor <1.00>: {new number }

workster
31-08-2004, 04:22 AM
Hi Verycivildrafter,

You are indeed on the same wave length as me, unfortuately ACAD2002 doesn't have the command cht/ chtext. I don't suppose you know where I could get a copy of the lisp in question?

The reason why I need it all command line driven is that I am trying to set up a script to change a huge number of charts, one of things needing to be changed is font width!!!

Thanks for your help.

architech
31-08-2004, 01:08 PM
Here's another command to try.

matchprop

I believe this is a standard LISP command.
Anyway...
Pick your text ... for a template (source).
Then pick all other text to match .....

This should match text style and width and layer. :mrgreen:
You can filter out what to match by going into the settings .... :P

HTH

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I still believe going to the text style is faster.
If you don't want to type style ....
Pull it down from "FORMAT" and go to "TEXT STYLE" ...
Select your appropriate style and change the width there.

Every text under that style will change globally.

Oh well ... just a suggestion.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Leter guys. :D

csiarch
11-09-2004, 01:46 AM
Just so you know...if the text style in question is used in blocks with editable attributes, this text will also be affected by changing the text style width. Further, if you happened to define those attributes with a width other than one, visible text attributes may begin to appear different than intended.

(Later) Can't you simply modify the text style with a different width value???