Bulk Upgrade Revit Families With Dynamo

Editor's note: This post was originally published on EvolveLAB's blog and re-published here with permission.


Every year or every few years, most firms go through the process of upgrading their library from the latest version of Revit to the current.  There is really no reason to upgrade libraries manually as there are a few bulk-upgrade add-ins you can purchase or download for free.  That said, the task can also be accomplished with Dynamo with just 6 simple nodes.  You will have to use the Clockwork package and the Rhythmpackage to make this one work.

bulk-upgrade-revit-families-with-dynamo-directory-path.png

1.  Directory Path

Use the Directory Path to point to where you want to upgrade your files at.

bulk-upgrade-revit-families-with-dynamo-directory-contents.png

2.  Directory Contents

Use the Clockwork Directory.Contents+ Node instead of the Dynamo out of the box one.  The Clockwork node allows you to look into sub-folders while the out of the box one is only one folder.

bulk-upgrade-revit-families-with-dynamo-filter-code-block.png

3.  Filter Code Block

Using the "*.rfa" in the search string allows us to attempt to open ONLY Revit family files.  This is especially important if you have type catalogs in a .txt format.

bulk-upgrade-revit-families-with-dynamo-open-close-files.png

4.  Open & Close Files

Using the Rhythm open and close documents nodes is pretty straight forward.  Open File.  Close File.  Don't forget to set SAVE with a Boolean node!

bulk-upgrade-revit-families-with-dynamo-rhythm package.png

Check it out in action...

bulk-upgrade-revit-families-with-dynamo-revit-script.gif

This script does upgrade the families where they are, so make sure you upgrade them in a copy of your original library! To download this EvolveLAB dynamo script click here


Editor's note: This post was originally published on EvolveLAB's blog and re-published here with permission.

How Smart Landscape Designs Boost Your Business

How Smart Landscape Designs Boost Your Business

Mistakes Immediately Discovered After the Building was Constructed

Mistakes Immediately Discovered After the Building was Constructed