TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: danny on November 10, 2004, 01:37:09 PM
-
ACAD 2000i. Text styles has a option for bigfont and the office I'm working in has always used this (I don't even know what bigfont is for) in their default style. Well the problem I'm having is that batch plot utility is not printing styles that have bigfont. I can manually go into each drawing and uncheck the bigfont, but would much rather write a lisp and a script so that I can weed it out of all files.
I've tried to start a lisp but dont know where to start because bigfont is only available in the dialog box, not at the command line.
Command: -style
Enter name of text style or [?] <TXTS>: dimtext
Existing style.
Specify full font name or font filename (TTF or SHX) <romans.shx>:
Specify height of text <0'-0">:
Specify width factor <0.8500>:
Specify obliquing angle <0.00>:
Display text backwards? [Yes/No] <N>:
Display text upside-down? [Yes/No] <N>:
Vertical? <N>
"DIMTEXT" is now the current text style.
Does anyone know how I could start this?
thanx.
-
Not sure you can, I'll have to do more digging.
This property is similar to the FontFile property, except that it is used to specify an Asian-language Big Font file. The only valid file type is SHX.
This property cannot be set to NULL or an empty string.
-
I haven't found a way to do it programmatically yet but this worked.
Enter name of text style or [?] <style1>:
Existing style.
Specify full font name or font filename (TTF or SHX) <txt.shx,bigfont.shx>:
txt.shx
Specify height of text <0.0000>:
Specify width factor <1.0000>:
Specify obliquing angle <0>:
Display text backwards? [Yes/No] <N>:
Display text upside-down? [Yes/No] <N>:
Vertical? <N>
"style1" is now the current text style.
after entering "txt.shx" *only* for the font, BIGfont was unchecked after that.
-
ok, so all i gotta do is write a script to change the font of the existing default text.
much mahalo's Mark...
-
woops.. that was me