View Full Version : Changing Text in multiple file
lee.johnson
2009-07-31, 11:03 PM
Hello Everyone
I have about 200+ symbol file. I need to change the text style for each. Is there a way to do it without having to open each one?
rkmcswain
2009-08-01, 01:07 AM
Do you want to change the font assigned to a particular textstyle -or- do you want to change the textstyle assigned to each text object?
How much lisp experience do you have?
Do you have any code that you have already started?
irneb
2009-08-03, 03:45 PM
As RK's asked, which change do you want to accomplish?
If you simply want to make sure the textstyle named StyleX is set to the correct font & size & etc. Then look at the prompts for the command line version of the STYLE command (prefix it with a hyphen / minus sign). Then download ScriptPro from AutoDesk and create a SCR file which contains the keyst4rokes you want to perform on each DWG.
If you want to set all text to one new style, there's unfortunately no command-line utility for this in standard ACad. Thus you'll have to look for something like it or create one using Lisp or some such. Then you could use the same method as above to perform this on multiple drawings.
Please note that both these methods would only change DText and non-overridden MText. If someone's changed the font inside a MText, you'll need some more advanced lisp ... but this forum does have some examples of removing such formatting as well ... do a search on mtext remove formatting
lee.johnson
2009-08-04, 03:34 PM
I would like to change the font from Romans to a new company standard of ariel. the copy also changed the style name from F (corporate standard style name) to Text_Standard.
I don't know that much about Lisp just some simple stuff, I wouldn't even know where to start at programming something like that
RobertB
2009-08-04, 05:14 PM
I would like to change the font from Romans to a new company standard of ariel. the copy also changed the style name from F (corporate standard style name) to Text_Standard.
I don't know that much about Lisp just some simple stuff, I wouldn't even know where to start at programming something like thatNo need to use LISP. Look at the Drawing Standards feature.
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.