TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Pukenzz on October 30, 2018, 03:31:35 PM
-
I have 3 different dimension styles…
CEI-ARCHITECTURAL
CEI-FRACTIONAL
CEI-DECIMAL
This portion of lisp will change the dimscale…
(wcmatch (strcase (getvar 'dimstyle)) "*CEI*")
(setvar 'dimscale 1)(setvar 'textsize 0.100)
I rewrite it for 16 different buttons that correspond to the 16 different dimscales I want to be able to use. I have that all working fine.
Now I’m looking for help on the code that would be associated to make it so that I can change all my textsize of all my textstyles at the same time. I have 3 text styles..
CEI-DIM
CEI-VIEW
CEI-NOTE
Changing textsize only changes the textstlye that is current. I want to be able to change all 3 at the same time regardless of which is active.
Thanks in advance
-
Try this
(defun c:csh
( / c_doc c_styles s_lst th
)
s_lst
(list "CEI-DIM" "CEI-VIEW" "CEI-NOTE") );end_setq
(setq th
(getreal "\nEnter New Text Height for TextStyles : ")) );end_foreach
);end_defun