1 members found this post helpful.
Find and Replace
I put together a simple Find and Replace utility that searches text notes in the Revit model. I am publishing it here so you can see the source and modify/update it as you see fit. If you make changes to the source, please post a new compiled version and your source here.
I'm not responsible for what this utility does to the text in your project. While I have made every effort to ensure that this works properly, you should check the text yourself. You can always undo.
Download the FindReplace-Compiled.zip file and unzip it in the location of your Revit.exe file. Place the contents of FindReplace-Revit.ini into your Revit.ini file. After launching Revit, you'll find it under Tools > External Tools > Find and Replace. You can add a keyboard shortcut for it if you want.
It works fastest if you select the text you want to search prior to running the command. Otherwise, it has to search the ENTIRE model looking for text notes. This could take a while if you have a large model.
It only searches text notes, not parameters in tags.
If you have spaces at the beginning or end of a text note, they will be lost. I think this is an issue with Revit.
The utility uses the Revit API for RB 8.1/RS 2. For later versions of Revit, you will need to re-reference the RevitAPI.dll and recompile.
The VB.NET source and solution files are in the FindReplace-SourceCode.zip file. The source is commented so you can follow it. If you have any questions, please post here.