Author Topic: Controlling Text Size  (Read 1593 times)

0 Members and 1 Guest are viewing this topic.

Luke

  • Guest
Controlling Text Size
« on: October 24, 2007, 09:12:25 AM »
Full Version Vanilla ACAD 2006.

I have 2 test styles _STD and _BOLD.  I need to have .125" .250" .500" .750" and 1.00" sizes for each of the 2 styles.  However, I do not want to have to creat 10 total styles, I want 2 styles.  So then I want to click a button(s) and tell is to set tect style to _STD and change the height to .250"

so my button macro would be Text;style;_STD; but I do not see where or how to change the height.  Can anybody tell me how to do this without creating a text style for each height.

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Controlling Text Size
« Reply #1 on: October 24, 2007, 09:41:19 AM »
Code: [Select]
(setvar "textsixe" 0.25)
If used in a button:
Text;style;_STD;TEXTSIZE;.25;

as long as the style is set to zero text height.
« Last Edit: October 24, 2007, 09:43:44 AM by CAB »
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.