Batch renaming of parameter names, type names, parameter values in the specified families
About 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
- Revit Ribbon
DESCRIPTIONPlugin processes selected files or all files in selected folders. You can add a prefix or suffix, you can rename with search and replace. There are several options for setting up search and replace. There is the ability to use regular expressions to search for values
To start working with the plugin, open families using the Open families button in the lower left corner of the window.
When you open family files, you will be offered three options: select files with an extension .rfa, select a folder and open all the files in the folder with the extension .rfa or select a folder and open all files with the extension .rfa, including all files in all attached files.
After selecting the files, they will open and read the data - parameter names, type names and parameter values. The read data will be grouped by the uniqueness of the value. That is, if two families have two parameters with the same name, the table will display this parameter only once.
In the right part of the window, you can specify the options by which you want to change the values:
Prefix/suffix – in this group you can specify the prefix and/or suffix to be added.
Search and replace – in this group you can specify which value to find and which value to change. Additional search and replace options are also available in the group:
- Starts with - indicates that the value to be searched must be at the beginning of the value to be changed. For example, if you specify a rotation in the Search field, the Angle of rotation value will not be processed.
- Ends with - by analogy with the previous paragraph, only processes values that end with the desired value.
- Contains - handles any match.
- Full match - processing of values only when the full match with the desired value.
- Regular expression - indicates that the search value is specified as a formal search language (Regular expressions or Regex). For example, the desired value KZ\d+\.\d+? find matches in the value KZH15. 5_complete (find KZH15. 5) and KZH16. 1_complete (find KZH16. 1).
In the list of processed data, the result will be displayed immediately. Only items marked with a check mark are processed.
In the lower right part of the window there are buttons:
Apply - makes changes to the family files according to the specified options, saves the files and re-reads the data. Only items marked with a check mark are processed.
Apply and close - makes changes to the family files according to the specified options, saves the files and closes the plugin window. Only items marked with a check mark are processed.
Attention! It is strongly not recommended to apply the plugin to different data processing options. For example, renaming parameters and changing parameter values. Use the plugin to handle data in a single context – parameter names, type names, or parameter values
CommentsPlease log in to write comments.
Try before you buy
Most of the plugins in the ModPlus software are free! But, approximately 30% of the plugins are paid. However, these plugins are distributed on the principle "Try before you buy" - which means that you can use these plugins in almost their full functionality and buy them only if you want!