Change text styles across multiple dwg files

Change text styles across multiple dwg files

jamaine.murphy
Participant Participant
1,018 Views
4 Replies
Message 1 of 5

Change text styles across multiple dwg files

jamaine.murphy
Participant
Participant

Hello Community,

 

Is there a tool/lisp/routine availble to perform a mass textstyle properties change across multiple dwgs?

I'm looking to change the font type for a specific textstyle across all my dwgs.  Is there a way to do this without going into every dwg file and changing it manually?

0 Likes
1,019 Views
4 Replies
Replies (4)
Message 2 of 5

pendean
Community Legend
Community Legend
You need to know the STYLE name inside each DWG file.
You need to know the new font name to substitute.
Then you can write a script file, and use a batch script processor to run it across as many DWG files are you need.

How far did you get so far in your testing in one DWG file?
0 Likes
Message 3 of 5

jamaine.murphy
Participant
Participant

Ah okay. So its possible, kewl. 

However, I've no idea how to do what you've suggested.

Could you point me in the right direction to do this.

0 Likes
Message 4 of 5

pendean
Community Legend
Community Legend
HELP is a good place to start learning about SCRIPT file creation https://help.autodesk.com/view/ACD/2023/ENU/?guid=GUID-BE44AE86-7638-48C9-BE5B-C1DF8E4C8808
This online tutorial is less technical https://xlncad.com/scripting-in-autocad/

Here is n online tutorial about using a script batch processor with your successfully tested SCRIPT file https://www.cad-notes.com/run-a-script-on-multiple-dwg-with-scriptpro/
0 Likes
Message 5 of 5

TerryDotson
Mentor
Mentor

If you were to consider third party add-ons, DotSoft's ToolPac contains a Style Merge tool that works across multiple drawings.  The files are not actually opened in the editor meaning extremely fast processing versus scripting.

 

Capture.png

0 Likes