Search and replace text in specified search scopesAbout files with the extension .mpifThe file with the .mpif extension is a special installation file of the ModPlus (ModPlus Install File).
These files allow you to install and update all ModPlus components using the auto-update module in case you do not have access to the internet or modplus.org
Related news and articles
- New plugin for Revit. Search and replace
- Revit. Find and replace in parameters and generic annotations
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.
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.
In the upper right part of the plugin window you can find the search settings and search and replace buttons:
fields to fill inFind - field for entering the value you're looking for.Replace with - field for entering the value to be replaced.
additional options checkboxesCase 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. Regular expression searches do not work for text annotations.Search by selected elements - searches by the model elements selected at the time the plugin is run.
startup buttonsSearch 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:- check all items in the list;- uncheck all items in the list;- clear the result list.
When hovering the cursor over the line with the search result, buttons appear on the right side of the line:- copy element ID to clipboard;- display element.
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 floor and replace them with "D-2". Select the search area "Instance parameters in project":
Configure the elements filter by category:
Select the "AND" option of the logical operator. Configure the filter by parameters:
Fill in the fields "Parameter", "Find" and "Replace with":
Press the "Search and replace all" button.
Change history forYear
- Комментарии для сайта Cackle