The Building Coder

Dynamic Model Updater Tutorial and Wizard Update

The Forge DevCon is over and was a great success.

I am really excited to see where our paths will lead us in the near future as we continue to improve the connections between the desktop, Revit and BIM to the cloud and move forward towards freeing our BIM data.

I published pointers to all the Free your BIM data resources yesterday.

Jeremy freeing BIM data

Here are some more snapshots from the second day at the event, taken during my few ventures outside the festival pavilion building housing it:

Forge DevCon Day Two

Our main topics today are completely different and purely Revit API related:

Updated Visual Studio Revit Add-in Wizards

I updated the Visual Studio Revit Add-in Wizards to suppress the architecture mismatch warning (cf. the corresponding command line utility).

The most up-to-date version is always available from the VisualStudioRevitAddinWizard GitHub repository, and this update is captured in release 2017.0.0.1.

RevitPythonShell Dynamic Model Updater Tutorial

Pierre Moureu created a very helpful tutorial on using the Dynamic Model Updater framework DMU in the context of Daren Thomas' RevitPythonShell:

To give you an idea of what this is about, here is the readme table of contents:

  1. Intro
  2. First step : Simple External File
  3. Registration Improvement : startup.py
  4. About ChangeType and Newly Added/Deleted Elements
  5. Ergonomic Improvement

In Pierre's own words:

I wanted to share the work we've done on a small course on Python in Revit. We tested using IUpdaters with RevitPythonShell and it seems to work great! The method might help other users with setting up this tool, since I didn't find any other example for this in Python...

You can find the tutorial and the examples at github.com/PMoureu/samples-Python-RPS/tree/master/Tutorial-IUpdater.

This tutorial is extremely useful from two completely opposite perspectives, both for Revit Python shell users wishing explore the powerful possibilities provided by DMU, and also for Revit API add-in developers with or without DMU experience wishing to acquaint themselves with some of the more powerful aspects of the Revit Python shell.

Many thanks to Pierre for creating and sharing this!