Skip to content

Change materials

I have created two scripts that should assist with changing materials in Revit. The first script will attempt to locate the type parameter where material information is stored and it will replace the material according to the user’s input.

The second script was created to address the need to change duplicate material names. It should serve as a tool when you have elements imported from Inventor.

This situation can occur when a family has many materials in a single family, but there is no quick way to display only the original name of the material. Therefore, this script will scan the entire material list and, for all materials that have a number in brackets (for example, (1)), it will delete the brackets and number from the name. It will also use special characters to ensure that only the original name of the material is visible.

Please make sure that before you start using this script you back up the existing project model.

Also, if you want to download this (and all other scripts) with my sample files please visit the Shop page.

The script uses the following Dynamo package:

Data-Shapes

Leave a Reply

Your email address will not be published. Required fields are marked *