See the top rated post in this thread. Click here

Results 1 to 10 of 94

Thread: Find and Replace

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    I could stop if I wanted to Danny Polkinhorn's Avatar
    Join Date
    2003-12
    Location
    San Francisco, CA
    Posts
    448
    Login to Give a bone
    1

    Default Find and Replace

    All,

    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.

    Important:
    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.

    To use:

    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.

    Source notes:

    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.

    Enjoy,
    Attached Files Attached Files

Similar Threads

  1. 2007: Find & replace
    By nextvkin in forum AutoCAD General
    Replies: 6
    Last Post: 2015-09-06, 11:19 PM
  2. Find and Replace
    By RMEYER.46723 in forum AutoCAD Civil 3D - General
    Replies: 5
    Last Post: 2009-06-09, 01:53 AM
  3. Find and Replace
    By U.Rackharrow in forum AutoCAD General
    Replies: 9
    Last Post: 2007-10-16, 02:44 PM
  4. Find / Replace
    By gs in forum Revit Architecture - General
    Replies: 3
    Last Post: 2005-12-09, 07:16 PM
  5. Find & replace
    By markl.70662 in forum Revit Architecture - Wish List
    Replies: 4
    Last Post: 2005-05-25, 05:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •