Message 1 of 7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
is there anyway of supressing this message so that it doesn't appear when making changes to the text styles...
Solved! Go to Solution.
is there anyway of supressing this message so that it doesn't appear when making changes to the text styles...
Solved! Go to Solution.
Pls READ the message, after this you should know what prevent the message to appeas: Save the style first, then switch to another or whatever you want.
How to save a style? Press [apply]
There is no other (onboard) way to get rid of the meesage, because it is very useful - it appears if you forgot to apply the edit only.
Sebastian
Thank you for the reply, not sure how to create a lisp to do that... can you help?
and great question and i do get why it would cause the confusion... the thing is with it... whenever we get (as a company) dwgs from architects ie General arrangements and so forth, we then turn them into XREF's for this we go through a process of cleaning them up and changing everything to grey and so forth.. and one part of the process is we change every text style they have in the drawing to Century Gothic despite whatever its called, its just the font style we use as a company... so hence why in the screenshot its called Arial and the font style is Century Gothic...
the frustration for us comes when the Architect has about 20+ styles in a drawing and we have to change each one to century gothic, and every time we change one, we have that popup message asking us if we want to apply, so hence my question about supressing that message...
I get it may be useful for some... but it gets a bit tedious when you're pressing 20+ times to change all the styles in the drawing, hence why I would like an option to turn that message off or change all the style in one go as another option...
@matthew.mccormack2257W wrote:
.... about 20+ styles in a drawing and we have to change each one to century gothic, and every time we change one, we have that popup message asking us if we want to apply, so hence my question about supressing that message...
Do it with command-line STYLE commands, collectively, rather than individually through the dialog box. This is what we use to assign Arial at 0.9 width factor to all Styles in the drawing. Modify to suit your font requirement, omit the width factor part if you like, etc.
(defun C:ASA9 (/ cmde sty); = All Styles Arial font at 0.9 width factor
(setq cmde (getvar 'cmdecho))
(setvar 'cmdecho 0)
(while (setq sty (cdr (assoc 2 (tblnext "style" (not sty)))))
(if (not (wcmatch sty "*|*")); not in an Xref
(command "_.style" sty "Arial" "" 0.9 "" "" "")
); if
); while
(setvar 'cmdecho cmde)
(princ)
); defun
(prompt "\nType ASA9 to set All Styles to Arial font at 0.9 width factor.")
It should also be doable by substituting your font in the 3-code entries in entity data for members of the Style Table.
Just do a search online and you’ll find lots of goodies like this thread way back when: