Over 1.091.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips.
Try the new precise Engineering calculator.
New AutoCAD 2026 commands and variables.
Discussion forum
?CAD discussions, advices, exchange of experience

Please abide by the rules of this forum.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
|
Post Reply ![]() |
Author | |
rmmllla ![]() Newbie ![]() Joined: 05.Mar.2011 Location: United States Using: autocad2009 Status: Offline Points: 1 |
![]() Posted: 05.Mar.2011 at 03:16 |
does anyone know of a way to do the following:
in a drawing, there are many text strings containing a numerical value. i want to change all the text strings with a single command or series of commands (without having to individually change them one by one) so that the original values are retained, but the numbers (numeric text string) are now enclosed inside parentheses. for example: 123.45 becomes (123.45), 543.21 becomes (543.21), 234.56 becomes (234.56), etc. |
|
![]() |
|
CarlB ![]() Senior Member ![]() Joined: 16.Oct.2009 Location: United States Status: Offline Points: 321 |
![]() |
That calls for a lisp routine, or some programming aproach. Don't know of a way just using commands, such as "FIND", which is used for global text modifying.
Here's a simple one, that adds a prefix & paretheses to text entities:
Some more robust ones here, but seem to be for just a prefix or suffix, so you have to run it twice-
|
|
![]() |
|
Vladimir Michl ![]() Moderator Group ![]() Arkance Systems CZ Joined: 26.Jul.2007 Location: Czech Republic Using: Autodesk software Status: Offline Points: 2098 |
![]() |
Our srxText utility can do this (see Download). Use its the "Regular expressions" option and:
search text: \([0-9\.]+\) replace text: (\1) |
|
Vladimir Michl (moderator)
ARKANCE - https://arkance.world - Autodesk Platinum Partner |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
This page was generated in 0,242 seconds.