Search and replace

10098

Search and replace

It's a free plugin!

  • Search and replace text in specified search scopes

    Icon

    32x32px 16x16px dark 32x32px dark 16x16px

    Related news and articles


    Using

    The plugin is used to search for and replace text in selected scopes, including text in type and instance parameters. The plugin also allows you to:

    • copy to the clipboard ids of elements with found text;
    • display the elements on the screen.

    1

    In the left part of the plugin window you can see a list of search areas. You have to check the scopes in which you want to search and replace the text. Using the buttons on the left side of the list you can check all items in the list checkbox multiple marked circle outline and uncheck all checked scopes checkbox multiple blank circle outline.

    In the upper right part of the plugin window you can find the search settings and search and replace buttons:

    fields to fill in

    Find – field for entering the value you're looking for.
    Replace with – field for entering the value to be replaced.

    additional options checkboxes

    Case sensitive – option for uppercase or lowercase search.
    Whole Word – option to search for values that are not part of other words.
    Regular expression – option for processing the search value as a regular expression. Regular expressions are patterns used to match character sequences in strings.
    Search by selected elements – searches by the model elements selected at the time the plugin is run.

    startup buttons

    Search all – searches the specified search areas with the specified settings and displays the result in the search window (see below). The button will not be available if no value is specified in the Find field or no search area is selected.
    Replace checked – replaces the marked search results. The button will not be available if the Replace with field is not filled or there are no marked items in the search results.
    Search and replace all – searches the specified search areas with the specified settings and replaces all found values. Herewith the search results are not displayed. The button is not available if no values are specified in the Find and Replace with fields.

    The search results are displayed in the lower right part of the plugin window. Each result position has a header indicating the model element, as well as the text in which the search was performed, with the found value highlighted. To perform the Replace checked function, you need to check the checkboxes next to the desired positions.

    During the work with the search results you can use buttons:

    checkbox multiple marked circle outline – check all items in the list.
    checkbox multiple blank circle outline – uncheck all items in the list.
    broom – clear the result list.

    When hovering the cursor over the line with the search result, buttons appear on the right side of the line:

    identifier – copy element ID to clipboard.
    target – display element.

    2

    When you select the search area by parameter, the upper right part of the plugin's window adds the parameter search settings.

    Element – filter for search elements, consisting of filter by category, boolean operator AND/OR, and filter by parameters (you can read more about working with the elements filter here).

    Parameter – field where you specify the name, system name, or GUID of the parameter. If you do not fill the Parameter field, the search will be performed for all string parameters available for editing.

    The results of the parameter search are displayed in the lower right part of the plugin window. Each result position has a header indicating the parameter, as well as the text in which the search was performed, with the found value highlighted.


    For example, you need to find all door marks "D-1" on the 1st and 2nd floors and replace them with "D-2". Select the search area "Instance parameters in project":

    3

    Configure the elements filter by category:

    4

    Select the "AND" option of the logical operator. Configure the filter by parameters:

    5

    Fill in the fields Parameter, Find and Replace with:

    6

    Press the Search and replace all button.

    7

  • Change history for
    Year

    2024 Year

    Revit: Search and replace 2.4.4.0 (11.10.2024)

    Improved
    Consideration of selected element types when the “By selected elements” option is enabled.

    Revit: Search and replace 2.4.3.0 (12.09.2024)

    New
    Added “Check all” and “Uncheck all” options.
    New
    Added search in Schedules name and headers.
    Fix
    Fixed a search error with the "Whole Word" option enabled.

    Revit: Search and replace 2.2.2.0 (17.06.2024)

    New
    Added ability to process Text Annotations using regular expressions.

    Revit: Search and replace 2.1.2.0 (14.01.2024)

    Fix
    Added a check that the plugin window is already open.

    2023 Year

    Revit: Search and replace 2.1.1.0 (10.11.2023)

    Improved
    Using the ModPlus.Xaml.Behaviors.Wpf.dll library instead of Microsoft.Xaml.Behaviors.dll to resolve compatibility issues with other plugins.

    Revit: Search and replace 2.1.0.0 (17.05.2023)

    New
    Added search and replace in material names.

    Revit: Search and replace 2.0.0.0 (19.02.2023)  Read more

    New
    Added search and replace in parameters.
    New
    Added search and replace in generic annotations.
    New
    Added search and replacement in viewport view name.
    New
    Added search and replace in sheet number.
    New
    Added an ability to copy element identifier to clipboard.
    New
    Added ability to call the element display function.
    Improved
    Save search settings.
    Improved
    Moved focus to the plugin window after closing the results window.

    Revit: Search and replace 1.3.5.0 (08.01.2023)

    Improved
    Changed icons.
    Improved
    Added command access settings on the ribbon.

    2022 Year

    Revit: Search and replace 1.3.3.0 (09.06.2022)

    Improved
    Setting the Revit window as the parent window for the results window.

    Revit: Search and replace 1.3.2.0 (02.06.2022)

    New
    Added the ability to search among the selected elements.
    Improved
    Added the ability to replace with an empty value.
    Fix
    Fixed the error of displaying quotes in search results.

    Revit: Search and replace 1.2.0.0 (25.03.2022)

    New
    Added "Viewport title" search scope.

    Revit: Search and replace 1.1.0.0 (11.03.2022)

    Improved
    Added ability to turn off the "Regular expression" mode.
  • Комментарии для сайта Cackle

ModPlus 2015-2024