Over 1.108.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips, Civil tips, Fusion tips.
Try the updated Units converter and the new precise Engineering calculator.
New AutoCAD 2026 commands and sys.variables and env.variables,.
Discussion forum
?CAD discussions, advices, exchange of experience
CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.
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 |
Topic: modifying text globallyPosted: 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 |
Posted: 05.Mar.2011 at 07:27 |
|
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: 2147 |
Posted: 06.Mar.2011 at 23:06 |
|
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,248 seconds.
![CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]](/common/arkance_186.png)


modifying text globally
Topic Options


