Find/Replace Text is not working in (basic) AutoCAD as I'd expect...

Find/Replace Text is not working in (basic) AutoCAD as I'd expect...

Anonymous
Not applicable
4,145 Views
13 Replies
Message 1 of 14

Find/Replace Text is not working in (basic) AutoCAD as I'd expect...

Anonymous
Not applicable

Here's the background: I'm tasked with making edits to an existing engineering drawing that (unfortunately) has 161 (!) sheets/layouts. At my company, revisions to drawings are controlled by Revision Letters (i.e.- A, B, C etc.). Each revision is a collection of 1 or more individual engineering change directives (specific changes to the drawing), that are designated by a sequential number following the Revision Letter (i.e.- A1, A2, A3 etc.). It is important to note however, that these numbers are SUBSCRIPT to the Revision Letter. (This is done by highlighting the number after creation, then clicking on the [Text Editor menu group > Formatting > Subscript] icon). This letter/number combination is circumscribed by a circle (the size of a typical Leader Balloon), which together then comprises a [Revision Marker] that is then located on the drawing sheet near where each edit to the drawing is made.

 

Here's my situation: I'm working on [Revision D] which includes 14 different change directives. So, I have 14 different [Revision Markers] for [Revision D]. Each is used in MANY different locations across all 161 sheets. I've received instruction that I need to delete the current Revision [D11] from the drawing and then re-index the subsequent [Revision Markers]. (i.e.- D12 is to become the new D11, D13 to become the new D12 etc.). To ensure I don't miss any of the many [Revision Markers] requiring change, I intended to use the [Find and Replace] dialog window to identify each [Revision Marker] needing to be changed, and thought this would be relatively fast drawing edit, but...

 

Here's my problem: The [Find and Replace] dialog window won't identify the text strings within the [Revision Markers] BECAUSE THEY CONTAIN SUBSCRIPTED NUMBERS. (I've expanded the [Find and Replace] dialog window and selected all possible [Search Options], to no avail). If the [Revision Numbers] are NOT subscripted, they get found, but if they ARE subscripted, they don't.


Here's my question: Is there any "hidden code" I can enter in the [Find what:] input window (in the [Find and Replace] dialog window, that will allow the subscripted text to be identified? I've tried these, and they don't work: D/11, D^11, D.11


Hope there's a way I can automate this edit, or it's going to be a long and tedious change to this complex drawing.

0 Likes
Accepted solutions (1)
4,146 Views
13 Replies
Replies (13)
Message 2 of 14

pendean
Community Legend
Community Legend
Post a portion of a DWG file with your text/subscript in place please.

0 Likes
Message 3 of 14

Anonymous
Not applicable

Attached are two screen snags showing sample [Revision Markers] and the [Find and Replace] dialog window (and resultant search results notice) when I searched for both [D12] (subscript numbers) and [D13] (normal text numbers).

FYI- I'm running basic AutoCAD 2019.

0 Likes
Message 4 of 14

cadffm
Consultant
Consultant

We can not check a cad-object from a stupid raster.image, sorry.

 

=> "Post a portion of a DWG file with your text/subscript in place please."

Sebastian

0 Likes
Message 5 of 14

alex101000
Collaborator
Collaborator

find-001.PNG

--
Please select the Accept as Solution button if my post solves your issue or answers your question.
0 Likes
Message 6 of 14

cadffm
Consultant
Consultant

@alex101000 You and Martin in the same company so you upload Martins file?

Joke, I know it - But your sample is one of 100 possible sample, i don't like to write about 100 "perhaps and possible things",

i want the talk only exact this one current case of the TO/Thread and there is one simple and 100%  way to do it: DWG sharing.

 

But Yes, i am pretty sure your are also right like i think it is what we talk about

and then the answer is "impossible" .

 

And later, perhaps the best solution is a special designed block with parameter and attributes!? who knows.

 

 

Sebastian

0 Likes
Message 7 of 14

Anonymous
Not applicable

Attached is a sample dwg file containing subscript numbers and normal text numbers.  Executing a [Find and Replace] operation, the normal text gets found, the subscript text does not.

0 Likes
Message 8 of 14

Anonymous
Not applicable

Yes, exactly my situation.  Thanks for confirming it's not just me.

0 Likes
Message 9 of 14

cadffm
Consultant
Consultant

thx.

 

not your sample, but the same thing. In this case it isn't possible to use command FIND (& replace),

if you running fullversion and with the right tool it is possible if you know how to do it.

 

190129-3.jpg

 

If you know "what to do" you can use a simple (generaly) DXF-Autolisp command line Editor,

SORRY, i can not link to a simple one now, but perhaps Alex will link or write one for you!? Cross two fingers4u

 

sample workflow in commandline  to change D12 to D34 with the right tool and "know what tot do":

Command: CDXF+

Command: DXFcode: 1

Command: VAL old:\A1;D{\H0.7x;\S^12;}  <= You will see that in your propertys palette as content of your mtext.

Command: VAL new: \A1;D{\H0.7x;\S^34;}

 

 

 

Sebastian

0 Likes
Message 10 of 14

Anonymous
Not applicable

Thanks for your info.  A tool to be able to accomplish this would be VERY useful.  Hard to believe that being able to Search for (and replace) subscripted text is not a standard feature.  Even using various wildcard characters (i.e.- ., ?, #, *, etc.) between the D and 1 in the [Find and Replace] dialog window didn't work.

0 Likes
Message 11 of 14

s.borello
Advisor
Advisor

Have you considered creating layers for each different revision?  That way you could turn the old revision layer off and not waste time hunting down rev tags. 

0 Likes
Message 12 of 14

Anonymous
Not applicable

Thanks for the suggestion, but unfortunately it's not an option. Company CAD standards dictate that all [REV D] changes be on a single layer.  I'm not allowed to further break down the drawing content onto layers such as [REV D1], [REV D2] etc.  And with 161 layout sheets this would become very tedious.  If only AutoCAD's [Find and Replace] tool would recognize subscript text, then this wouldn't even be a problem, and I could have re-indexed all necessary [Revision Markers] over the 161 layouts in under 5 minutes.  Microsoft Word's [Find and Replace] function can do it quickly and intuitively, too bad AutoCAD can't.

0 Likes
Message 13 of 14

alex101000
Collaborator
Collaborator
Accepted solution
Not as convenient as a regular search through _find, but solves the problem - srxText
find-004.PNG
--
Please select the Accept as Solution button if my post solves your issue or answers your question.
0 Likes
Message 14 of 14

Anonymous
Not applicable

Thanks so much Alex!  The link you provided to the srxText webpage was very informative.  I think this will definitely accomplish what I'm trying to do.  Going forward though, I think it would be a good practice for me just to create the [Revision Markers] as [Blocks], then making global changes to them across the entire drawing is very quick and simple.  It just needs to be structured that way from the beginning.  😉  Thanks again for taking time to look into this!  Cheers!

0 Likes