CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
New CADforum look launched.
Over 1.082.000 registered users (EN+CZ). New 1D nesting and 3D nesting tools, updated Color converter. New AutoCAD 2025 commands and variables. Learn about twiGIS.
Place your Ad on CADforum.cz

CAD tip CAD tip # 3229:

Question

CAD 
 %  platform  category 
A
To search and replace substrings or complete texts in an AutoCAD drawing, including an option to use scripts and replace texts (and dimtexts and attribute texts and multileaders) in many DWG files at once, you can use the free/trial CADstudio's utility - srxTEXT. For search and replace you can also use regular expressions and perform even complex text replacements of the type:

D19-457-03667 --> Part:457/03667 Code:D19

or add strings to the beginning or to the end of your texts or individual words, or replace only a single/first occurrence of a substring, etc.

You can also use scripts to replace texts in multiple drawings (batch mode). Replace strings defined by search-replace pairs loaded from an Excel table (CSV file; the srxTextCSV command).

More details on srxText. This utility can be downloaded from Download, see also www.cadstudio.cz/developuk.

ACAD2025ACAD2020ACAD2004ADTMapMDT
100% *CAD
31.7.2003    48007×   FAQ  

See also:
Tip 14163:How to select DWG texts containing a certain number of characters?
Tip 13831:ReplMTcol - recoloring parts of text in paragraph Mtext.
Tip 13139:How to insert a new line into multiline text in the Find/Replace command?
Tip 12803:How to add double line-spacing to AutoCAD paragraphs?
Tip 9265:RENAME on steroids - complex renaming of AutoCAD objects (blocks, layers...)


Back    All CAD Tips



Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD: 
OS: 
Categ: 
Text:
 FAQ
  



Featuring:
Link your AutoCAD block attributes with Excel tables/sheets. Automatically. Dynamically. Bidirectionally.
Try Excellink 2015 More info


Please use these tips at your own risk.
ARKANCE is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist