If you have the bundled version of our IMAGINiT Utilities for Revit that contain versions 2016-2020 (as of this posting) there is a new location for the config file to modify to add additional Renumber categories.
The following categories shown below are included in the installed config file, but if you want to add another category, you will need to modify the config file for this tool....this blog will show you how!
Pre-configured categories:
You will notice that I crossed out walls since that is a custom one I added.
How to Add another Category
The ElementRenumber.config file is located in the following location:
C:\ProgramData\Autodesk\ApplicationPlugins\RevitUtils.bundle\Contents\Utilities\
Note: Make a copy of the original config file before making modifications in case we need to roll back to the original file.
Open Notepad or Notepad++, then browse to the location and file noted above to edit the file, you will need to set it to All Files for the extension type in order to see the .config file on the list of files to open.
You will need to add additional lines to the file and it has to follow the formatting of the other lines. The sample line shown below for Specialty Equipment could be copied and pasted to another line, then modified as needed.
<elementType Name="Specialty Equipment" Category="OST_SpecialityEquipment" ParameterToSet="BIP.ALL_MODEL_MARK" OtherParameter="" DefaultIncrement="1"/>
The highlighted information is what you will need to change. Notice that the green highlighted information has no spaces. Also, make sure that you get the parameter category name exactly right or the tool won’t work at all. So for example Plumbing Fixture wouldn’t work because the category is actually Plumbing Fixtures. In this example we have added the Plumbing Fixtures and Walls category to the config file. I added my additional categories below Fabrication Duct and above the elementRenumberOptions.
<elementType Name="Fabrication Duct" Category="OST_FabricationDuctwork" ParameterToSet="Item Number" OtherParameter="" DefaultIncrement="1"/>
<elementType Name="Walls" Category="OST_Walls" ParameterToSet="BIP.ALL_MODEL_MARK" OtherParameter="Name" DefaultIncrement="1"/>
<elementType Name="Plumbing Fixtures" Category="OST_PlumbingFixtures" ParameterToSet="BIP.ALL_MODEL_MARK" OtherParameter="" DefaultIncrement="1"/>
</elementRenumberOptions>
</appSettings>
</configuration>
After the file is saved and you open Revit to test you should now see the added lines.
About the Author
Follow on Linkedin More Content by Sherry Pittman